I removed my gradle caches and now all my builds f...
# community-support
c
I removed my gradle caches and now all my builds fail: (
rm -rf /Users/christoph/.gradle/caches/
)
Copy code
Caused by: java.io.FileNotFoundException: /Users/christoph/.gradle/caches/8.10.1/transforms/2affcf264b744a2de5ce31ea86efbf40/metadata.bin (No such file or directory)
c
I have absolutely no idea, I would trash all of
.gradle
just make certain you don't delete
~/.gradle/gradle.properties
if there is one
v
Or
init.d/
or any other files you manually created in there. But besides that, what Caleb said. 🙂
Iirc configuration cache is a bit allergic to files vanishing from
.gradle
suddenly, so if you use configuration cache it might also be enough to additionally delete that.
c
P.S. I would generally suggest tracking any files you manually create in ~/.something to be tracked by
yadm
... although for
gradle.properties
you probably need ot encrypt it due to credentials, which
yadm
supports. quite probably you'd want to template it then encrypt it.