Don't trigger 'testJvm6ServerRuntime' initialization during configuration phase
This commit is contained in:
@@ -53,12 +53,14 @@ fun Project.codegenTest(
|
|||||||
codegenTest(target = 6, jvm = 6, jdk = "JDK_18") {
|
codegenTest(target = 6, jvm = 6, jdk = "JDK_18") {
|
||||||
dependsOn(testJvm6ServerRuntime)
|
dependsOn(testJvm6ServerRuntime)
|
||||||
|
|
||||||
systemProperty("kotlin.test.default.jvm.target", "1.6")
|
doFirst {
|
||||||
systemProperty("kotlin.test.java.compilation.target", "1.6")
|
systemProperty("kotlin.test.default.jvm.target", "1.6")
|
||||||
|
systemProperty("kotlin.test.java.compilation.target", "1.6")
|
||||||
|
|
||||||
val port = project.findProperty("kotlin.compiler.codegen.tests.port") ?: "5100"
|
val port = project.findProperty("kotlin.compiler.codegen.tests.port") ?: "5100"
|
||||||
systemProperty("kotlin.test.box.in.separate.process.port", port)
|
systemProperty("kotlin.test.box.in.separate.process.port", port)
|
||||||
systemProperty("kotlin.test.box.in.separate.process.server.classpath", testJvm6ServerRuntime.asPath)
|
systemProperty("kotlin.test.box.in.separate.process.server.classpath", testJvm6ServerRuntime.asPath)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
codegenTest(target = 6, jvm = 9) {}
|
codegenTest(target = 6, jvm = 9) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user