-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
47 lines (37 loc) · 1.15 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.3.21"
}
buildscript {
extra.set("springVersion", "5.1.8.RELEASE")
extra.set("tomcatVersion", "8.5.42")
}
allprojects {
group = "nextstep"
version = "1.0.0"
repositories {
jcenter()
}
}
subprojects {
apply(plugin = "kotlin")
dependencies {
val springVersion = rootProject.extra.get("springVersion")
implementation("ch.qos.logback:logback-classic:1.2.3")
implementation("com.google.guava:guava:28.0-jre")
implementation("org.apache.commons:commons-lang3:3.9")
implementation("org.reflections:reflections:0.9.11")
testImplementation("org.junit.jupiter:junit-jupiter:5.5.1")
testImplementation("org.assertj:assertj-core:3.12.2")
testImplementation("org.springframework:spring-test:$springVersion")
testImplementation("org.springframework:spring-webflux:$springVersion")
testImplementation("io.projectreactor.netty:reactor-netty:0.8.10.RELEASE")
}
tasks.withType<KotlinCompile>().configureEach {
println("Configuring $name in project ${project.name}...")
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjsr305=strict")
}
}
}