b026b9eb22
It's enabled by default in Kotlin 1.3
19 lines
292 B
Groovy
19 lines
292 B
Groovy
apply plugin: 'kotlin'
|
|
|
|
dependencies {
|
|
compile project(':kotlin-stdlib-jdk8')
|
|
testCompile project(':kotlin-test:kotlin-test-junit')
|
|
}
|
|
|
|
sourceSets {
|
|
test.kotlin.srcDir 'test'
|
|
}
|
|
|
|
compileTestKotlin {
|
|
kotlinOptions.jdkHome = JDK_18
|
|
}
|
|
|
|
test {
|
|
executable = "$JDK_18/bin/java"
|
|
}
|