is it possible to pass arguments to the script cla...
# scripting
e
is it possible to pass arguments to the script class (that with
@KotlinScript
)? Looking at the code I don't think so 😕
I was wrong!
Copy code
return BasicJvmScriptingHost().eval(toScriptSource(), compilationConfiguration, ScriptEvaluationConfiguration().with {
    constructorArgs("argoment")
})
👍 1