+1 to Russel's annoyance. I don't have a great solution, but I've set up a script on boot to wipe out the cache directory. That script has reclaimed rather impressive amounts of hard disk space (by my ancient laptop's standards, anyway) in the past.
~~ Robert. On 28 December 2010 08:36, Russel Winder <[email protected]> wrote: > Adam, > > On Tue, 2010-12-28 at 07:09 +1100, Adam Murdoch wrote: > > > > On 28/12/2010, at 7:06 AM, Munoz, Pablo [Tech] wrote: > > > > > Is there a way to set ivy caches [1] in gradle? > > > > > > There isn't at the moment. > > > > > > I'm curious, why do you want to configure the ivy cache? > > I am not sure about OP's situation but I find the ever increasing (and > all to often hugely out of date) cache of Maven, Ivy, Gradle, Grapes, > etc. a real irritation. I regularly end up simply deleting the whole > thing when I know I am on a high speed connection simply to get rid of > all the dross. > > Gradle/Ivy is particularly prone to leaving thousands of files in > ~/.gradle/cache called resolved-* and I often have to go in and delete > them. This is irritating. There should be a way of keeping the cache > clean apart from manual intervention. > > Tidying up ~/.gradle/cache/*/* to remove all the outdated rubbish is > also an extremely length and tedious operation. > > > -- > Russel. > > ============================================================================= > Dr Russel Winder t: +44 20 7585 2200 voip: > sip:[email protected] <sip%[email protected]> > 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] > London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder >
