-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
62 lines (48 loc) · 1.71 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
}
}
import org.springframework.boot.gradle.tasks.bundling.BootJar
subprojects {
apply plugin: "io.spring.dependency-management"
apply plugin: "java"
apply plugin: "idea"
group = "ee.tlu"
version = rootProject.version
sourceCompatibility = "1.11"
repositories {
mavenCentral()
}
dependencyManagement {
imports { mavenBom("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") }
}
dependencies {
// mapstruct
implementation "org.mapstruct:mapstruct:${mapStructVersion}"
annotationProcessor "org.mapstruct:mapstruct-processor:${mapStructVersion}"
// lombok
compileOnly 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
testCompileOnly 'org.projectlombok:lombok:1.18.30'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.30'
testAnnotationProcessor 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
//developmentOnly "org.springframework.boot:spring-boot-devtools"
testImplementation project(":test")
}
tasks.withType(BootJar).configureEach {
archiveFileName = "${project.name}.jar"
destinationDirectory = file("${rootProject.projectDir}/dist/")
}
test {
outputs.upToDateWhen { false }
useJUnitPlatform()
testLogging { showStandardStreams = true }
reports.html.setDestination(file("${rootProject.projectDir}/reports/tests/${project.name}/"))
}
}