-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (31 loc) · 962 Bytes
/
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
plugins {
id 'java'
id 'org.dddjava.jig-gradle-plugin' version '2020.9.3'
}
group 'example'
version '1.0-SNAPSHOT'
repositories {
jcenter()
}
sourceCompatibility = '11'
targetCompatibility = '11'
def defaultEncoding = 'UTF-8'
[AbstractCompile, Javadoc].each {
tasks.withType(it).each { it.options.encoding = defaultEncoding }
}
dependencies {
implementation platform('org.springframework.boot:spring-boot-dependencies:2.3.3.RELEASE')
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-validation")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude(group: 'org.junit.vintage')
}
}
test {
useJUnitPlatform()
}
jig {
linkPrefix = "https://github.com/system-sekkei/library/tree/master/src/main/java"
}
[compileJava, processResources]*.shouldRunAfter(clean)
jigReports.dependsOn(clean, classes)