Closed Wasabi375 closed 3 years ago
I was trying these examples out because of the discussion here: https://discuss.kotlinlang.org/t/run-user-code-in-the-server/18976?u=wasabi375
I noticed that I can't run the JSR examples. They fail with a NPE during ScriptEngineManager().getEngineByExtension("main.kts")!!
ScriptEngineManager().getEngineByExtension("main.kts")!!
I'm guessing that I am missing something during the build setup. Do I have to install anything in addition? I didn't see anything in the readme.
Hopefully solved by now, please comment if not. In general these samples contain gradle build files that describe all dependencies needed to run appropriate examples and tests.
I was trying these examples out because of the discussion here: https://discuss.kotlinlang.org/t/run-user-code-in-the-server/18976?u=wasabi375
I noticed that I can't run the JSR examples. They fail with a NPE during
ScriptEngineManager().getEngineByExtension("main.kts")!!
I'm guessing that I am missing something during the build setup. Do I have to install anything in addition? I didn't see anything in the readme.