Disable the period cache cleanup?

I’m spread pretty thin (lots of ongoing projects) and I’m frequently traveling with spotty network connections. My laptop has a big disk, and now I’m intermittently getting stranded because my dependencies have been cleared and I won’t have network access for a few hrs.

Is there a way to disable the periodic cache cleanup?

1 Like

How about extend the cleanup? Can I extend it to, say, 10 years? Just lost another hunk of time today.

Lost another hunk of time today. Any pointers for where I could start to contribute a flag for this?

For anyone else interested, looks like the gradle team is working on this, maybe for 5.4:

Looks like you can disable this from gradle 5.0 forward by setting org.gradle.cache.cleanup=false in ~/.gradle/gradle.properties, thanks to @lukeu for finding this.