-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (62 loc) · 2.22 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
plugins {
id 'org.springframework.boot' version '2.4.3'
// https://docs.spring.io/spring-boot/docs/current/reference/html/using-spring-boot.html#using-boot-dependency-management
// https://docs.gradle.org/4.6/userguide/managing_transitive_dependencies.html#sec:bom_import
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'me.rename'
version = '0.0.1'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.apache.commons:commons-lang3'
implementation 'org.apache.logging.log4j:log4j-core'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl'
implementation('org.springframework.boot:spring-boot-starter-actuator') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
implementation('org.springframework.boot:spring-boot-starter-data-jpa') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
implementation('org.springframework.boot:spring-boot-starter-validation') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
implementation('org.springframework.boot:spring-boot-starter-web') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
annotationProcessor 'org.projectlombok:lombok'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresql:postgresql'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
}
springBoot {
buildInfo()
}
test {
useJUnitPlatform {
excludeTags 'integration-test'
}
}
task integrationTest(type: Test) {
useJUnitPlatform {
includeTags 'integration-test'
}
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
// Display `unchecked` warnings
options.compilerArgs << '-Xlint:unchecked'
}
}