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:
http://old.nabble.com/Supporting-local-corporate-repository-with-Gradle--tp29085662p29085662.html
Sent from the gradle-user mailing list archive at Nabble.com.