does kapt will be deprecated in future and replace completly by ksp ?
Doni Winata
01/31/2023, 7:59 AM
image.png
d
David Rawson
01/31/2023, 8:09 PM
The way I interpret that message is that kapt will still be around but it won’t receive any significant updates.
So if you own a Kotlin annotation processor, good to move it to KSP.
And if you use annotation processors in your Kotlin project, good to move to to KSP as well since you can avail of performance improvements. Completely eliminating kapt Gradle tasks from your project is likely to mean faster build times:
https://twitter.com/ZacSweers/status/1270988203332435970
Yes the data binding situation is unfortunate. If it’s impossible to migrate to view binding, I would say concentrate on ensuring that any new Gradle modules don’t use any kapt annotation processors.