kotlin runtime must be added to classpath
(not just to library root)
This commit is contained in:
@@ -72,9 +72,7 @@ public class JetCoreEnvironment extends JavaCoreEnvironment {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (compilerSpecialMode.includeKotlinRuntime()) {
|
if (compilerSpecialMode.includeKotlinRuntime()) {
|
||||||
for (VirtualFile root : compilerDependencies.getRuntimeRoots()) {
|
addToClasspath(compilerDependencies.getRuntimeJar());
|
||||||
addLibraryRoot(root);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
JetStandardLibrary.initialize(getProject());
|
JetStandardLibrary.initialize(getProject());
|
||||||
|
|||||||
Reference in New Issue
Block a user