-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (57 loc) · 1.44 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
buildscript {
ext {
ratpackVersion = "1.5.0"
kotlinVersion = "1.3.71"
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
plugins {
id "idea"
id "java"
id "io.franzbecker.gradle-lombok" version "3.3.0"
id "org.springframework.boot" version "1.5.22.RELEASE"
}
def compatibility = 1.8
sourceCompatibility = compatibility
targetCompatibility = compatibility
apply plugin: "kotlin"
compileKotlin {
kotlinOptions {
jvmTarget = compatibility
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = compatibility
}
}
repositories {
mavenCentral()
}
dependencies {
annotationProcessor("org.projectlombok:lombok")
compile("org.springframework.boot:spring-boot-starter-data-mongodb")
compile("org.springframework.data:spring-data-rest-webmvc")
compile("de.flapdoodle.embed:de.flapdoodle.embed.mongo")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
[
"ratpack-spring-boot",
"ratpack-thymeleaf",
].each { compile "io.ratpack:$it:$ratpackVersion" }
runtimeOnly("org.springframework.boot:spring-boot-devtools")
compileOnly("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-test")
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}
springBoot {
executable = true
}
task wrapper(type: Wrapper) {
gradleVersion = "4.10.3"
distributionType = "BIN"
}