I'm facing a problem with KAPT with buildCache whi...
# gradle
a
I'm facing a problem with KAPT with buildCache which I'm not entirely sure how I'd explain it. I have a Dagger 2 module with some
IntoSet
bindings, If I add an element to the set, and build, that new element isn't part of the generated set that gets injected. What I need to do is first delete the
build
folder from the
$projectDir
then run
./gradlew assemble
with
no-build-cache
to make sure that build cache doesn't get hit while KAPT generates the classes. This of course increase the build time. Has anyone faced this problem? Is there a solution to it?