Is it safe to delete Gradle daemon logs?

~/.gradle/daemon · Safe to delete

What it is

Logs and registry files for Gradle daemons, one folder per Gradle version.

Can you delete it?

Yes, it is rebuilt automatically. Gradle recreates them; folders for old versions are not used again.

How to clean it safely

  1. Run: ./gradlew --stop
  2. Delete folders for old Gradle versions.

How big is it on your Mac?

This read-only command prints its size and changes nothing:

 Terminal
du -sh ~/".gradle/daemon" 2>/dev/null

Step-by-step guide: Android Studio disk space →

Questions

Is it safe to delete ~/.gradle/daemon?

Yes, it is rebuilt automatically. Gradle recreates them; folders for old versions are not used again.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac