Hi Russel,

Don't think there is an official way at the moment. But it is a good idea to
foresee this.

Could you file a JIRA issue to add lets say a gradle-cache command? I'm
thinking this command would behave based on the directory it is executed in
and look for a .gradle/cache directory in the current directory (so you can
clean the global cache and project caches), it would have the following
modes clean and info, clean would remove everything in the .gradle/cache
directory, info would show you the size of the cache (for starters) this
could be more elaborate and have additional options to show you what is
actually in it. This is just my first idea and needs to be discussed on the
dev-list/ or in the JIRA.

But for now I'm pretty sure you can delete the cache and wrapper directories
without a problem manually. Except that this will cause the wrapper and
cached libraries to be downloaded again.

2009/3/21 Russel Winder <[email protected]>

> Is there an official easy way of cleaning and pruning the $HOME/.gradle
> directory?
>
> 108220  cache
> 4       gradle.properties
> 76776   wrapper
>
> I know disc is cheap but because I do a lot of use of Unison to transfer
> my filestore from one machine to another, I want to keep things as small
> as possible.
>
> --
> Russel.
> ============================================================
> Dr Russel Winder                 Partner
>
> Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
> 41 Buckmaster Road,     f: +44 8700 516 084    voip:
> sip:[email protected] <sip%[email protected]>
> London SW11 1EN, UK.    m: +44 7770 465 077    xmpp: [email protected]
>

Reply via email to