<@U2U6G178X> Also, it doesn’t work without system ...
# scripting
g
@thejire Also, it doesn’t work without system property
kotlin.compiler.jar
I see that example uses some maven plugin for it, - https://github.com/JetBrains/kotlin/blob/d335aea6821542d30840299b1a9c07468d081b62/libraries/examples/kotlin-jsr223-daemon-local-eval-example/pom.xml#L89 But I’m not sure what is the best way to do it from gradle (how get compiler jar path from dependencies), so I just set this property manually from code:
Copy code
System.setProperty(“kotlin.compiler.jar”, “/absolute/path/to/kotlin-compiler.jar”