https://kotlinlang.org logo
#kontributors
Title
# kontributors
j

james.ayvaz

07/28/2018, 5:14 PM
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

gildor

07/28/2018, 5:25 PM
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
8 Views