Minor: Fix Maven plugin compilation (configuration parameter is not required now in analyzeAndGenerate(), cherrypick problem)
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ public class ExecuteKotlinScriptMojo extends AbstractMojo {
|
||||
|
||||
KotlinCoreEnvironment environment = KotlinCoreEnvironment.createForProduction(rootDisposable, configuration, EnvironmentConfigFiles.JVM_CONFIG_FILES);
|
||||
|
||||
GenerationState state = KotlinToJVMBytecodeCompiler.INSTANCE.analyzeAndGenerate(environment, configuration);
|
||||
GenerationState state = KotlinToJVMBytecodeCompiler.INSTANCE.analyzeAndGenerate(environment);
|
||||
|
||||
if (state == null) {
|
||||
throw new ScriptExecutionException(scriptFile, "compile error");
|
||||
|
||||
Reference in New Issue
Block a user