Sebastian Schuberth
01/12/2022, 9:14 PMcreateJvmCompilationConfigurationFromTemplate
lambda block, similar to like in JSR223 I can do engine.put("name", value)
?Sebastian Schuberth
01/12/2022, 9:16 PMprovidedProperties
but couldn't get it to work.Sebastian Schuberth
01/14/2022, 12:58 PMilya.chernikov
01/14/2022, 1:02 PMprovidedProperties
should work, this is how the JSR223 case is implemented. See https://github.com/JetBrains/kotlin/blob/master/libraries/scripting/jvm-host/src/kotlin/script/experimental/jvmhost/jsr223/propertiesFromContext.kt for details. (note that there should be compilation and evaluation part in it).Sebastian Schuberth
01/14/2022, 1:03 PM