[repo] Fix configuration cache issues in scripting-compiler project
This commit is contained in:
committed by
Space Team
parent
c7e4fa8654
commit
e71f86ee98
@@ -63,16 +63,19 @@ testsJar()
|
||||
projectTest(parallel = true) {
|
||||
dependsOn(":dist")
|
||||
workingDir = rootDir
|
||||
val scriptClasspath = testSourceSet.output.classesDirs.joinToString(File.pathSeparator)
|
||||
doFirst {
|
||||
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
|
||||
systemProperty("kotlin.test.script.classpath", scriptClasspath)
|
||||
}
|
||||
}
|
||||
|
||||
projectTest(taskName = "testWithK1", parallel = true) {
|
||||
dependsOn(":dist")
|
||||
workingDir = rootDir
|
||||
val scriptClasspath = testSourceSet.output.classesDirs.joinToString(File.pathSeparator)
|
||||
|
||||
doFirst {
|
||||
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
|
||||
systemProperty("kotlin.test.script.classpath", scriptClasspath)
|
||||
systemProperty("kotlin.script.test.base.compiler.arguments", "-language-version 1.9")
|
||||
systemProperty("kotlin.script.base.compiler.arguments", "-language-version 1.9")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user