Explicitly define the set of environment variables needed for tests

This commit is contained in:
Nikolay Krasko
2022-09-22 13:50:22 +02:00
committed by Space
parent 8799b9b751
commit 13a68b0e2d
2 changed files with 8 additions and 7 deletions
+4 -3
View File
@@ -1,5 +1,3 @@
import java.io.File
plugins {
kotlin("jvm")
id("jps-compatible")
@@ -52,7 +50,10 @@ sourceSets {
}
}
projectTest(parallel = true) {
projectTest(
parallel = true,
defineJDKEnvVariables = listOf(JdkMajorVersion.JDK_1_8, JdkMajorVersion.JDK_11_0, JdkMajorVersion.JDK_17_0)
) {
dependsOn(":dist")
workingDir = rootDir