Try file:/// (three slashes, instead of two). This is of course assuming you have a mount point at /gear
On Tue, Jul 6, 2010 at 07:57, Andrey Chaschev <[email protected]> wrote: > Hello, > > I've tried search and didn't find the answer among first 50. :) May be > someone could give me a small tip on how to support a local network > repository for Gradle projects? The idea is to store libraries on a single > local machine. With this practice we are trying to avoid downloading tons of > jars from www repositories. > > I've tried to add this resolver after copying .gradle/cache folder to > destination (which though doesn't seem be a nice approach, but a some kind > of workaround): > > add(new org.apache.ivy.plugins.resolver.FileSystemResolver()) { > name = 'cache' > checkmodified = true > latest = 'latest-time' > changingPattern = '.*SNAPSHOT' > ivyPatterns = > ['file://gear/maven_repo/.m2/repository/[organisation]/[module]/ivy-[revision].xml'] > artifactPatterns = > ['file://gear/maven_repo/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision].[type]'] > } > > But got that for each of the libraries > > log4j#log4j;1.2.14: source must be absolute: > file://gear/maven_repo/.m2/repository/log4j/log4j/ivy-1.2.14.xml > > Thanks in advance! > > Andrey. > > ________________________________ > View this message in context: Supporting local corporate repository with > Gradle? > Sent from the gradle-user mailing list archive at Nabble.com. > -- Jason Porter http://lightguard-jp.blogspot.com http://twitter.com/lightguardjp Software Engineer Open Source Advocate PGP key id: 926CCFF5 PGP key available at: keyserver.net, pgp.mit.edu --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
