Is there a way to force KSP to run, even if the so...
# ksp
f
Is there a way to force KSP to run, even if the source files where not changed? What I am doing is to use KSP to generate code based on the content of Kotlin files and other files (in my case an ANTLR grammar). When I modify the ANTLR grammar I would like KSP to run. Is that possible?
j
add those files as inputs of the ksp tasks
f
Can I do that even if they are not Kotlin files?
j
I haven’t tried personally
f
I will give it a try, thank you!
g
(if ever it doesn't work,
--rerun-tasks
option in gradle could be helpful)