Exclude additional test source sets when importing project in IDEA, enable coroutines in stdlib
This commit is contained in:
@@ -80,3 +80,5 @@ compileKotlin {
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
kotlin.experimental.coroutines 'enable'
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -15,8 +15,10 @@ sourceSets {
|
||||
test {
|
||||
kotlin {
|
||||
srcDir 'test'
|
||||
srcDir '../test'
|
||||
srcDir '../jre7/test'
|
||||
if(!System.properties.'idea.active') {
|
||||
srcDir '../test'
|
||||
srcDir '../jre7/test'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -47,6 +49,8 @@ compileTestKotlin {
|
||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package"]
|
||||
}
|
||||
|
||||
kotlin.experimental.coroutines 'enable'
|
||||
|
||||
test {
|
||||
executable = "$JDK_18/bin/java"
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ dependencies {
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
if(!System.properties.'idea.active')
|
||||
main {
|
||||
java {
|
||||
srcDir "${rootDir}/../core/builtins/src"
|
||||
|
||||
Reference in New Issue
Block a user