Hey there, I’d just like to clear up some gradle cache questions:
For starters I’m using ubuntu and gradle 2.6.
- What is the purpose of the items cached in ~/.gradle/caches/<version>/scripts? I see build and settings entries mostly. Over time this folder grows to many GBs.
- Is the above-mentioned scripts folder ever pruned by gradle? Would pruning it manually affect anything?
- Does https://docs.gradle.org/current/userguide/dependency_management.html#sec:controlling_caching imply that dynamic version artifacts will be removed from the gradle cache or just that they won’t be used after a certain period of time (default 24hrs)? From my experience it sounds like the latter. If so, is there any way to not cache such artifacts? Is there no gradle option to remove old versions of cached artifacts?
Thanks,
Willie