Fix compilation of kotlin-maven-plugin and kotlin-script-util

This commit is contained in:
Alexander Udalov
2017-04-28 16:27:37 +03:00
parent 87db245dd8
commit 5bd3716637
3 changed files with 4 additions and 5 deletions
@@ -131,7 +131,7 @@ done
val rootDisposable = Disposer.newDisposable()
try {
val configuration = CompilerConfiguration().apply {
addJvmClasspathRoots(PathUtil.getJdkClassesRoots())
addJvmClasspathRoots(PathUtil.getJdkClassesRootsFromCurrentJre())
contextClasspath(KOTLIN_JAVA_RUNTIME_JAR, Thread.currentThread().contextClassLoader)?.let {
addJvmClasspathRoots(it)
}