Allow only single expression eval in cli compiler and kotlin runner
#KT-35740 fixed also add tests and drop logger usage in the cli dependencies manager: the logger is normally unitialized in the usage scenarios, but related warnings are annoying.
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ class K2JVMCompilerArguments : CommonCompilerArguments() {
|
||||
var noReflect: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(value = "-Xexpression", description = "Evaluate the given string as a Kotlin script")
|
||||
var expressions: Array<String>? by FreezableVar(null)
|
||||
var expression: String? by FreezableVar(null)
|
||||
|
||||
@Argument(
|
||||
value = "-script-templates",
|
||||
|
||||
Reference in New Issue
Block a user