add runtime to classpath in JetCoreEnvironment
This commit is contained in:
@@ -516,11 +516,6 @@ public class CompileEnvironment {
|
||||
}
|
||||
}
|
||||
|
||||
public void setStdlib(String stdlib) {
|
||||
File file = new File(stdlib);
|
||||
addToClasspath(file);
|
||||
}
|
||||
|
||||
public JetCoreEnvironment getEnvironment() {
|
||||
return environment;
|
||||
}
|
||||
|
||||
@@ -69,9 +69,7 @@ public class JetCoreEnvironment extends JavaCoreEnvironment {
|
||||
}
|
||||
}
|
||||
if (compilerSpecialMode.includeKotlinRuntime()) {
|
||||
for (VirtualFile root : compilerDependencies.getRuntimeRoots()) {
|
||||
addLibraryRoot(root);
|
||||
}
|
||||
addToClasspath(compilerDependencies.getRuntimeJar());
|
||||
}
|
||||
|
||||
JetStandardLibrary.initialize(getProject());
|
||||
|
||||
Reference in New Issue
Block a user