From e71f86ee988abcbb75e8715f3c511913dab91917 Mon Sep 17 00:00:00 2001 From: Yahor Berdnikau Date: Fri, 1 Sep 2023 15:34:48 +0200 Subject: [PATCH] [repo] Fix configuration cache issues in scripting-compiler project --- plugins/scripting/scripting-compiler/build.gradle.kts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/scripting/scripting-compiler/build.gradle.kts b/plugins/scripting/scripting-compiler/build.gradle.kts index 7e55d337f6b..ff242adc7df 100644 --- a/plugins/scripting/scripting-compiler/build.gradle.kts +++ b/plugins/scripting/scripting-compiler/build.gradle.kts @@ -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") }