On 12/11/2010 09:54, richardm wrote:
Just one more question, with repositories many of the examples are external
e.g. maven, I take it the jar files are downloaded for each build that has a
dependancy on a repository.  Is this the case when using a flatDir for a
repository?  For example if I have several subprojects referencing the same
repository will they all end up with JARS copied into their build directory?
That's one of the reasons I chose to use the compile dependancy on a
directory as I didn't want all the files copied like that.

I only did a brief test of Maven-like dependencies, but I believe the downloaded jars remain in the cache, they are not copied to the build directory. At least, in my little test, they weren't, but perhaps I missed something.

For what it is worth, I made a blog post about my first experience with Gradle (you have to skip the start, where I tried other systems). The possible interest of my experiences is that I chose, currently, the same approach than you, ie. going without Maven or similar, and working with libraries in a local folder. Good approach or not (as Adam points out, things must be balanced), but I appreciate that Gradle is flexible enough to allow the choice.

Article at http://bit.ly/czuPJj (already wrote about it in this ML, on November 5 - looks like self-indulgence, but I hope to help, since this approach isn't so common, so there aren't so much articles on it).

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --


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

   http://xircles.codehaus.org/manage_email


Reply via email to