hey, trying to dynamically evaluate scripts on a K...
# scripting
m
hey, trying to dynamically evaluate scripts on a Kotlin file and doing:
Copy code
val engine = ScriptEngineManager().getEngineByExtension("kts")
Always returns
null
. Anyone has any ideas why?
c
Have you added the necessary dependencies? embedded compiler or scripting support, if I'm not mistaken.
m
Never mind.. last bit of text on this answer is what it was https://stackoverflow.com/a/44009876/279395
👍 1