-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
87 lines (71 loc) · 2.5 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.5'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
id 'com.diffplug.spotless' version '6.11.0'
}
group = 'de.unibamberg.dsam.group6'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
repositories {
mavenCentral()
}
dependencies {
//region Spring Boot
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//endregion
//region Spring other
implementation 'org.springframework.session:spring-session-jdbc'
implementation 'org.springframework.security:spring-security-test'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
//endregion
//region thymeleaf
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5'
implementation 'com.github.bufferings:thymeleaf-extras-nl2br:1.0.2'
implementation 'org.thymeleaf.extras:thymeleaf-extras-java8time:3.0.4.RELEASE'
//endregion
implementation 'org.hibernate.validator:hibernate-validator'
implementation 'org.postgresql:postgresql'
implementation 'org.apache.commons:commons-lang3'
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
implementation 'com.fasterxml.jackson.core:jackson-core'
implementation 'com.google.code.gson:gson'
implementation 'com.google.auth:google-auth-library-oauth2-http:0.22.0'
developmentOnly 'com.h2database:h2'
annotationProcessor 'org.projectlombok:lombok'
compileOnly 'org.projectlombok:lombok'
}
bootJar {
archiveName "prost.jar"
}
tasks.named('test') {
useJUnitPlatform()
}
spotless {
format 'misc', {
target '*.gradle', '*.md', '.gitignore'
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
}
java {
target 'src/*/java/**/*.java', 'invoicing-function/java/**/*.java'
indentWithSpaces(4)
palantirJavaFormat()
}
}