On Oct 24, 2008, at 8:35 AM, Russel Winder wrote:

It seems that my ~/.gradle directory has complete copies of every Gradle distribution wrapper I have ever used. This is hugely wasteful of disk
space.  OK I know disk is cheap, but I have four computers and I use
Unison to sync between them.  Syncing 200MB of .gradle is a bit of a
pain.

Can I propose that there is a think about how to prune this directory -- other than expecting users to dive in and delete things manually. Also the directory seems to contain all the manuals as well as all the jars. Is this needed? Also it violates DRY -- I have the manuals in my Gradle installation, why do I need copies in ~/.gradle. Actually doesn't that
go for the jars as well?

The wrapper is mostly for people who don't have a Gradle installation. But also if you have but this installation is old, the jars and the docs could have changed.


Another question whilst on this topic -- IS it necessary to have a jar
cache in ~/.gradle -- I have (naïvely) supposed the Ivy and/or Maven
cache would have been used directly.  Or maybe it is and this cache is
just for the wrapper? (But I suspect not as I have TestNG in there.

.gradle/cache is the used for caching the dependencies of gradle builds. The Maven cache can't be used, as it has a different structure and different metadata than an Ivy cache. But we also want to decouple from the default ivy cache.

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to