https://kotlinlang.org logo
#scripting
Title
# scripting
k

kenkyee

12/06/2020, 3:54 AM
You can't use it for scripting... It needs kapt...
😅 1
r

rnett

12/06/2020, 6:29 AM
It doesn't actually need kapt, serialization has its own compiler plugin. You still need a way to add compile plugins to use it though, which is only there for main-kts.
k

kenkyee

12/06/2020, 12:26 PM
Oops... Gradle Plugin I mean. kotlin("plugin.serialization") Last time I tried it with kscript, it didn't work...afaik, none of the scripting engines allow Gradle plugins