Re: set Gradle artifacts directory common for all projects

2013-06-11 Thread Wujek Srujek
Hi. Yes, that's the fix that I meant in one of my previous posts. I hope it happens soon. But it's also good there is a workaround. wujek On 6/11/13, Richard Bywater wrote: > There's a pull request that's pending to make the new behaviour optional so > people can use the old behaviour - I've ask

Re: set Gradle artifacts directory common for all projects

2013-06-11 Thread Richard Bywater
There's a pull request that's pending to make the new behaviour optional so people can use the old behaviour - I've asked on the dev list to try to see if we can merge it soon as it's also causing me issues... Richard. On Tue, Jun 11, 2013 at 9:23 PM, Wujek Srujek wrote: > Hi. Thanks for the li

Re: set Gradle artifacts directory common for all projects

2013-06-11 Thread Wujek Srujek
... but invoking gradle with -Dgradue.user.home=/home/wujek/.gradle does work, also for the wrapper. I wonder what the difference here is. On Tue, Jun 11, 2013 at 11:23 AM, Wujek Srujek wrote: > Hi. Thanks for the link. So my problems were twofold: > 1. I configured the repository url (mercurial

Re: set Gradle artifacts directory common for all projects

2013-06-11 Thread Wujek Srujek
Hi. Thanks for the link. So my problems were twofold: 1. I configured the repository url (mercurial) to file:///some/path, and each build would wipe out the repository (and the wrapper, and the artifact caches) and clone a new one because of the following message: [workspace] $ hg showconfig paths

Re: set Gradle artifacts directory common for all projects

2013-06-10 Thread Richard Bywater
This is probably because of https://issues.jenkins-ci.org/browse/JENKINS-17386 Richard. On Fri, Jun 7, 2013 at 8:43 PM, wrote: > Actually, the Gradle distribution and all dependencies are downloaded _for > each build_. This is bad. I'm running jenkins with 'java -jar jenkins.war' > if it matte

Re: set Gradle artifacts directory common for all projects

2013-06-07 Thread wujek . srujek
Actually, the Gradle distribution and all dependencies are downloaded _for each build_. This is bad. I'm running jenkins with 'java -jar jenkins.war' if it matters. wujek On Friday, June 7, 2013 10:32:13 AM UTC+2, wujek@gmail.com wrote: > > Hi. I'm using the latest Gradle plugin and I notic

set Gradle artifacts directory common for all projects

2013-06-07 Thread wujek . srujek
Hi. I'm using the latest Gradle plugin and I noticed that all projects have all Gradle artifacts stored in their own workspace. This means, each project will have its own Gradle distribution (I'm using gradle wrapper) and their own copies of all artifacts. This seems pretty wasteful. Is there a