Support classpath argument when running scripts using the -script flag
Signed-off-by: Isak Karlsson <isak-kar@dsv.su.se>
This commit is contained in:
committed by
Alexander Udalov
parent
f632a90741
commit
efae5c05a1
@@ -91,7 +91,7 @@ public class ScriptTest {
|
||||
|
||||
try {
|
||||
JetScriptDefinitionProvider.getInstance(environment.getProject()).markFileAsScript(environment.getSourceFiles().get(0));
|
||||
return KotlinToJVMBytecodeCompiler.compileScript(paths, environment);
|
||||
return KotlinToJVMBytecodeCompiler.compileScript(configuration, paths, environment);
|
||||
}
|
||||
catch (CompilationException e) {
|
||||
messageCollector.report(CompilerMessageSeverity.EXCEPTION, OutputMessageUtil.renderException(e),
|
||||
|
||||
Reference in New Issue
Block a user