I’m trying to debug a code generator issue, wonder...
# kontributors
j
I’m trying to debug a code generator issue, wonderin if it is possible to step through the kapt gradle plugin without recompiling? When I try it with
-Dorg.gradle.debug=true
I can’t see the kapt source
g
Yes, it’s possible. This article is quite old, but this approach will work, also shows a couple possible pitfalls https://medium.com/@daptronic/annotation-processing-with-kapt-and-gradle-237793f2be57