Specify idea.home.path for java 8 tests

Default discovery mechanism points to wrong location
This commit is contained in:
Mikhael Bogdanov
2018-02-20 18:01:06 +01:00
parent eb81c205c7
commit b337b9ea8d
+1
View File
@@ -28,6 +28,7 @@ projectTest {
dependsOn(":dist")
workingDir = rootDir
systemProperty("kotlin.test.script.classpath", the<JavaPluginConvention>().sourceSets.getByName("test").output.classesDirs.joinToString(File.pathSeparator))
systemProperty("idea.home.path", intellijRootDir().canonicalPath)
}
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateJava8TestsKt")