Hi, a bit of a silly question:
If KSP is implemented as a compiler plugin why in gradle build scan there is separate
kspKotlin
task? Is it because KSP registers its own gradle task? I wonder because I created a simple compiler plugin of my own and in build scan there is only
compileKotlin
.
z
Zac Sweers
08/22/2023, 8:48 PM
it registers its own task and has its own implementation of incremental processing that isn't possible when embedding in the regular compileKotlin task. This also allows it to generate resources, java files, and class files