forked from uluckas/s2s-KotlinAutoClose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (34 loc) · 876 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
group "com.s2s"
version "1.0-RC1"
buildscript {
ext {
kotlin_version = "1.2.71"
junit_jupiter_version = "5.3.1"
junit_platform_version = "1.3.1"
}
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: "kotlin"
repositories {
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_jupiter_version"
testRuntime "org.junit.jupiter:junit-jupiter-engine:$junit_jupiter_version"
testRuntime "org.junit.platform:junit-platform-launcher:$junit_platform_version"
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}