Don't trigger 'testJvm6ServerRuntime' initialization during configuration phase

This commit is contained in:
Mikhael Bogdanov
2019-08-13 13:43:51 +02:00
parent 19ce279611
commit 8ff081a596
@@ -53,6 +53,7 @@ fun Project.codegenTest(
codegenTest(target = 6, jvm = 6, jdk = "JDK_18") { codegenTest(target = 6, jvm = 6, jdk = "JDK_18") {
dependsOn(testJvm6ServerRuntime) dependsOn(testJvm6ServerRuntime)
doFirst {
systemProperty("kotlin.test.default.jvm.target", "1.6") systemProperty("kotlin.test.default.jvm.target", "1.6")
systemProperty("kotlin.test.java.compilation.target", "1.6") systemProperty("kotlin.test.java.compilation.target", "1.6")
@@ -60,6 +61,7 @@ codegenTest(target = 6, jvm = 6, jdk = "JDK_18") {
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) {}