On 12/11/2010, at 7:54 PM, richardm wrote: > > Thanks for the clarificaiton. I'll look into using the repository approach > as the other approach had led to a lot of unwanted JAR files ending up in > WAR files. > > 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.
Dependencies are copied into a cache in the user's home directory (~/.gradle/cache), and shared from there by all builds. -- Adam Murdoch Gradle Developer http://www.gradle.org CTO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz
