forked from DenWav/kotlin-try-with-resources
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
41 lines (34 loc) · 1.03 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
group "com.s2s"
version "1.0-RC1"
buildscript {
ext {
kotlin_version = "1.1.51"
junit_jupiter_version = "5.0.1"
junit_platform_version = "1.0.1"
}
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.junit.platform:junit-platform-gradle-plugin:$junit_platform_version"
}
}
apply plugin: "kotlin"
apply plugin: "org.junit.platform.gradle.plugin"
repositories {
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
testCompile "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"
testRuntime "org.junit.platform:junit-platform-runner:$junit_platform_version"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}