[Native][tests] Depend on project(":kotlin-native-compiler-embeddable") only when K/N compiler classpath is not explicitly specified as Gradle property
This commit is contained in:
@@ -97,7 +97,9 @@ fun blackBoxTest(taskName: String, vararg tags: String) = projectTest(taskName,
|
||||
}
|
||||
|
||||
TestProperty.COMPILER_CLASSPATH.setUpFromGradleProperty(this) {
|
||||
configurations.detachedConfiguration(dependencies.project(":kotlin-native-compiler-embeddable")).files.joinToString(";")
|
||||
val kotlinNativeCompilerEmbeddable = configurations.detachedConfiguration(dependencies.project(":kotlin-native-compiler-embeddable"))
|
||||
dependsOn(kotlinNativeCompilerEmbeddable)
|
||||
kotlinNativeCompilerEmbeddable.files.joinToString(";")
|
||||
}
|
||||
|
||||
// Pass Gradle properties as JVM properties so test process can read them.
|
||||
|
||||
Reference in New Issue
Block a user