While doing some disk housekeeping today, I realized that <GRADLE_HOME>/daemon
is filled with essentially waste; mostly log files and two files named registry.bin
and registry.bin.lock
. I update Gradle regularly. The daemon folder now contains a two-digit number of sub folders, each named after a version number (most probably the Gradle version number?), and each containing essentially log files of the deamon. These folders currently sum up to about 2GB on my machine.
I guess folders of older versions that are not being used anymore can be safely removed. However, is there any possibility to (a) tell Gradle to regularly remove outdated folders, (b) a way to explicitly tell Gradle to clean that folder, or © to set an upper bound after which some cleaning takes place automatically? If not, please consider this posting a feature request.