ritesh
08/22/2024, 3:45 PMUnresolved reference error...
), in my project. Mostly because of gradle's corrupts cache - incremental or local, while switching branches or updating local from upstream, for cases where epoxy models are changed or change in dagger.
KSP doesn't invalidate, the old cache.. hence the error.
As, a fix it always leads to cleaning the incremental cache, or finding the corrupt cache and deleting them or running the task with --rerun-tasks
or --no-buid-cache
I wonder if anyone else faced the same issue? I also, see these changes dropped in recent kotlin release - https://kotlinlang.org/docs/whatsnew2020.html#deprecated-incremental-compilation-based-on-jvm-history-files and wonder if that can somewhat fix the build cache issue.