Exclude additional test source sets when importing project in IDEA, enable coroutines in stdlib

This commit is contained in:
Ilya Gorbunov
2017-03-07 12:45:45 +03:00
parent 08fa304b6f
commit d25b07fe23
4 changed files with 14 additions and 3 deletions
+5 -1
View File
@@ -15,7 +15,9 @@ sourceSets {
test {
kotlin {
srcDir 'test'
srcDir '../test'
if(!System.properties.'idea.active') {
srcDir '../test'
}
}
}
}
@@ -44,6 +46,8 @@ compileTestKotlin {
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package"]
}
kotlin.experimental.coroutines 'enable'
test {
executable = "$JDK_17/bin/java"
}