Since Dagger 2 supports incremental kapt, is there...
# dagger
c
Since Dagger 2 supports incremental kapt, is there any benefit to using dagger-reflect?
n
Anecdotally speaking dagger-reflect is still significantly faster for me than just incremental kapt. This however is just from my experience on using it on a few side projects I don't have any benchmarks to confirm this.
c
Good enough for me. May still give that a try then. Thanks for the anecdote.
👍 1
n
I also use this plugin: https://github.com/soundcloud/delect It automatically swaps dagger with dagger-reflect for local builds so you don't need to have a big if-else block in your
build.gradle
file
👍 3
g
Even incrementally, there is a big overhead of annotation processing stepml Also incremental kapt compilation is quite brittle (many things may break it up)
c
Interesting. I wonder if I should ask most of my annotation processor authors on github to see if they can build a reflect based artifact as well.