Safe to Delete

Gradle Daemon Logs & Process Cache (~/.gradle/daemon)

Quick Answer: The .gradle/daemon folder stores log outputs and lock files from background Gradle build daemons. Deleting daemon logs is safe.

Bottom Line: It is 100% safe to clear ~/.gradle/daemon. Daemons store build log outputs and lock files. Stopping active daemons and deleting logs frees drive space.


What is the Gradle Daemon Folder?

Located at ~/.gradle/daemon/ (or %USERPROFILE%\.gradle\daemon), Gradle spawns background daemon worker processes to speed up Android and Java builds.


How to Clean Up Gradle Daemons

./gradlew --stop
rm -rf ~/.gradle/daemon/*

Discussion

Loading authentication...

Related in developer

The AI Engineer's Model Disk Cleanup Guide: Hugging Face, Ollama & PyTorch

The ultimate 1,200-word field guide for AI developers and local LLM hobbyists to reclaim 200GB+ from Ollama, Hugging Face, PyTorch, and vLLM model weights.

Safe to Delete

Android Studio System Index Cache (AndroidStudio Cache)

Android Studio caches Gradle project indexes, VFS caches, and compiler artifacts. Invalidate and clear is safe.

Safe to Delete

Ansible Automation Temp & Fact Cache (~/.ansible/tmp)

Ansible stores temporary playbook execution modules and target host fact JSON caches in ~/.ansible/tmp. Clearing Ansible tmp is safe.

Safe to Delete
Back to all files