You can't use it for scripting... It needs kapt...
# scripting
k
You can't use it for scripting... It needs kapt...
😅 1
r
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
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