Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
SOLAR_FIELDS
· 2y ago · 0 comments
Doesn’t clean build (or the flag to build the incremental cache again by force) solve this?
Comments
[–]
SpaghettiCthulu
2y ago
No, running `gradle clean` only cleans the project-level cache as far as I can tell. It leaves the user-level cache untouched (as far as the issue is concerned). Not sure about that flag you mention though. I'll have to look into that.
[–]
Osiris-Team
2y ago
Running "clean build" should do the trick though, it will delete the ./build directory. Or do you mean the local maven repo?
[–]
SpaghettiCthulu
2y ago
Neither. The corrupted cache is in the user-level gradle cache directory, which is untouched by `gradle clean`.