diff --git a/compiler/tests-java8/build.gradle.kts b/compiler/tests-java8/build.gradle.kts index 54598438356..acce4ecdc42 100644 --- a/compiler/tests-java8/build.gradle.kts +++ b/compiler/tests-java8/build.gradle.kts @@ -28,6 +28,7 @@ projectTest { dependsOn(":dist") workingDir = rootDir systemProperty("kotlin.test.script.classpath", the().sourceSets.getByName("test").output.classesDirs.joinToString(File.pathSeparator)) + systemProperty("idea.home.path", intellijRootDir().canonicalPath) } val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateJava8TestsKt")