mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
classpath order tweaks to make groovy compilation from IDEA a bit faster
This commit is contained in:
@@ -103,7 +103,6 @@ public abstract class GroovyCompilerBase implements TranslatingCompiler {
|
||||
|
||||
final JavaParameters parameters = new JavaParameters();
|
||||
final PathsList classPathBuilder = parameters.getClassPath();
|
||||
classPathBuilder.add(PathUtil.getJarPathForClass(GroovycRunner.class));
|
||||
|
||||
final ModuleChunk chunk = createChunk(module, compileContext);
|
||||
|
||||
@@ -119,6 +118,8 @@ public abstract class GroovyCompilerBase implements TranslatingCompiler {
|
||||
appendOutputPath(module, classPathBuilder, true);
|
||||
}
|
||||
|
||||
classPathBuilder.add(PathUtil.getJarPathForClass(GroovycRunner.class));
|
||||
|
||||
final List<String> patchers = new SmartList<String>();
|
||||
for (final GroovyCompilerExtension extension : GroovyCompilerExtension.EP_NAME.getExtensions()) {
|
||||
extension.enhanceCompilationClassPath(chunk, classPathBuilder);
|
||||
|
||||
Reference in New Issue
Block a user