-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
59 lines (47 loc) · 1.47 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
plugins {
id 'eclipse'
id 'io.franzbecker.gradle-lombok' version '1.14'
id 'java'
id 'org.springframework.boot' version '2.0.2.RELEASE'
}
apply plugin: 'io.spring.dependency-management'
group = 'de.tarent'
version = '1.1.0'
// stay with Java 9 as long as https://github.com/rzwitserloot/lombok/issues/1572 is not resolved
sourceCompatibility = 9
ext {
junitVersion = '5.2.0'
junitPlatformVersion = '1.2.0'
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-data-mongodb-reactive'
compile 'org.springframework.boot:spring-boot-starter-security'
compile 'org.springframework.boot:spring-boot-starter-webflux'
compile 'org.springframework.boot:spring-boot-devtools'
testCompile 'io.projectreactor:reactor-test'
testCompile "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'org.springframework.security:spring-security-test'
testRuntime 'de.flapdoodle.embed:de.flapdoodle.embed.mongo'
// for Eclipse
testRuntime "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
testRuntime "org.junit.platform:junit-platform-launcher:$junitPlatformVersion"
}
test {
useJUnitPlatform()
reports {
html.enabled = true
}
}
springBoot {
mainClassName = 'de.tarent.springboot2.sample.webflux.SpringBoot2WebfluxApplication'
}
bootRun {
systemProperty 'spring.profiles.active', 'local'
}
task wrapper(type: Wrapper) {
gradleVersion = '4.7'
}