Join Slack
Powered by
Anyone here who can suggest how to use ksp in a ks...
# ksp
r
Richard Glen
03/02/2023, 5:54 AM
Anyone here who can suggest how to use ksp in a kscript? Tho, tbh, I'm thinking of just migrating this script to be an executable fatjar instead 🥲
e
ephemient
03/02/2023, 6:02 AM
you could try the workarounds in
https://youtrack.jetbrains.com/issue/KT-47384
combined with
https://kotlinlang.org/docs/ksp-command-line.html
but I don't know if it'll work
j
Jiaxiang
03/02/2023, 7:13 PM
That’s refreshing to know there is a workaround, I thought kts is simply not supported. Having said that, even though there might be a workaround, we haven’t tested kotlin script with KSP.
12
Views
Open in Slack
Previous
Next