Minor. Renamed and cleaned CompilerServices -> Services.
This commit is contained in:
@@ -128,7 +128,7 @@ public class CompilerRunnerUtil {
|
|||||||
Method exec = kompiler.getMethod(
|
Method exec = kompiler.getMethod(
|
||||||
"execAndOutputHtml",
|
"execAndOutputHtml",
|
||||||
PrintStream.class,
|
PrintStream.class,
|
||||||
Class.forName("org.jetbrains.jet.config.CompilerServices", true, loader), String[].class);
|
Class.forName("org.jetbrains.jet.config.Services", true, loader), String[].class);
|
||||||
|
|
||||||
return exec.invoke(kompiler.newInstance(), out, environment.getServices(), arguments);
|
return exec.invoke(kompiler.newInstance(), out, environment.getServices(), arguments);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ public class KotlinBuilder extends ModuleLevelBuilder {
|
|||||||
@Override
|
@Override
|
||||||
public boolean accept(String className) {
|
public boolean accept(String className) {
|
||||||
return className.startsWith("org.jetbrains.jet.lang.resolve.kotlin.incremental.cache.") ||
|
return className.startsWith("org.jetbrains.jet.lang.resolve.kotlin.incremental.cache.") ||
|
||||||
className.equals("org.jetbrains.jet.config.CompilerServices");
|
className.equals("org.jetbrains.jet.config.Services");
|
||||||
}
|
}
|
||||||
}, compilerServices);
|
}, compilerServices);
|
||||||
if (!environment.success()) {
|
if (!environment.success()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user