How can I clear the kapt cache? I use room and it always generates a dao class that was from another branch. When I delete the generated class it generates it again and then fails the build beause it references classes that do not exist.
w
wasyl
10/08/2019, 7:34 AM
You can run kapt task with
--rerun-tasks
flag, perhaps?
p
Paul Woitaschek
10/08/2019, 8:13 AM
Thanks I wiped everything and will try that the next time 🙂
m
Matej Drobnič
10/09/2019, 5:30 AM
I usually run
clean
paired with
--no-build-cache
. But I think
--rerun-tasks
flag could work (thanks @wasyl, I did not know about that flag before)