Hi
I've been trying to get to always check the repo for artifacts wich has the
name SNAPSHOT in them, but so far haven't been able to get it to work.
This is where I currently am:
repositories {
add(new org.apache.ivy.plugins.resolver.SshResolver()){
name= 'sshRepo'
user = 'user'
m2compatible=true
checkmodified=true
/checkModified='true'
changingPattern=".*SNAPSHOT.*"
changing="true"
latest="latest-time"
keyFile=new File("/path/to/.ssh/id_rsa")
host = "remote-machine"
addArtifactPattern
"/opt/test_repo_flat/[module]-[revision](-[classifier]).[ext]"
}
}
I thought using the a combination of changePatter,checkmodified,changing and
latest strategy as 'latest-time' would be what I needed but I seem to be
missing something.
Any ideas?
Many thanks,
Mikael
--
View this message in context:
http://gradle.1045684.n5.nabble.com/How-to-configure-a-resolver-to-always-download-SNAPSHOT-versions-tp3373621p3373621.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email