Gradle cache on Mac: what it is and whether you can delete it
~/.gradle/caches
Yes, you can delete it without losing anything
It recreates itself: the tool that created it makes it again when needed. At most, the next time takes a little longer.
What it is
Dependencies for Android and Java projects. The next build will take longer.
How to free the space
By emptying the folder's contents (the folder stays).
DiskSpace AI finds it for you
It tells you how much it takes on your Mac, what it is and whether you can delete it. It only selects what recreates itself, and your files are kept 7 days in case you change your mind.
Download the BetaGuides that cover it
Similar folders
- uv cache (Python)Recreates itself
- pip cacheRecreates itself
- npm cacheRecreates itself
- npx temporary packagesRecreates itself
- pnpm storeRecreates itself
- pnpm cacheRecreates itself