Refactoring: common logic extracted and moved to a util class
This commit is contained in:
@@ -206,7 +206,7 @@ public class BytecodeCompiler {
|
||||
}
|
||||
CompilerConfiguration configuration = createConfiguration(stdlib, classpath, sourcesRoots.toArray(new String[0]));
|
||||
File directory = new File(module).getParentFile();
|
||||
boolean success = KotlinToJVMBytecodeCompiler.compileModules(configuration, modules, directory, new File(jar), null, includeRuntime);
|
||||
boolean success = KotlinToJVMBytecodeCompiler.compileModules(configuration, modules, directory, new File(jar), includeRuntime);
|
||||
if (!success) {
|
||||
throw new CompileEnvironmentException(errorMessage(new String[]{module}, false));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user