Abstract script compiled module implementation used in saving/caching
removes classloading problem when main-kts is loaded from a CL without scripting compiler. Also relax dependencies collection on saving to a jar and hide redundant logging. Running main.kts script via a run configuration works now. #KT-37765 fixed
This commit is contained in:
+1
-1
@@ -341,7 +341,7 @@ private fun loadScriptDefinition(
|
||||
ScriptDefinition.FromLegacyTemplate(hostConfiguration, cls.kotlin)
|
||||
}
|
||||
messageReporter(
|
||||
ScriptDiagnostic.Severity.INFO,
|
||||
ScriptDiagnostic.Severity.DEBUG,
|
||||
"Added script definition $template to configuration: name = ${def.name}"
|
||||
)
|
||||
return def
|
||||
|
||||
Reference in New Issue
Block a user