forked from jkazama/ddd-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (42 loc) · 1.4 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
plugins {
id "java"
id "eclipse"
id "org.springframework.boot" version "2.2.0.RELEASE"
id "io.spring.dependency-management" version "1.0.8.RELEASE"
}
ext['lombok.version'] = "1.18.10"
version = "2.2.0"
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
def defaultEncoding = 'UTF-8'
tasks.withType(AbstractCompile).each { it.options.encoding = defaultEncoding }
javadoc {
options.encoding = defaultEncoding
options.addBooleanOption('Xdoclint:none', true)
}
test {
include "**/model/**", "**/controller/**", "**/util/**", "**/context/**"
}
repositories {
jcenter()
}
eclipseJdt.doLast {
File f = file('.settings/org.eclipse.core.resources.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('encoding/<project>=UTF-8')
}
dependencies {
annotationProcessor "org.projectlombok:lombok"
compileOnly "org.projectlombok:lombok"
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation "org.springframework.boot:spring-boot-starter-aop"
implementation "org.springframework.boot:spring-boot-starter-actuator"
runtime "com.h2database:h2"
testAnnotationProcessor "org.projectlombok:lombok"
testCompileOnly "org.projectlombok:lombok"
testImplementation "org.springframework.boot:spring-boot-starter-test"
}
wrapper {
gradleVersion = "5.6.3"
}