You should use ivy for uploadArchives as well:

uploadArchives { 
    repositories {
  add(new org.apache.ivy.plugins.resolver.FileSystemResolver()) {
    name = 'local-release'
    addIvyPattern
"${topReleaseDir}/[organisation]/[module]/[revision]/[module]-[revision].ivy"
    addArtifactPattern
"${topReleaseDir}/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
    m2compatible = true
  }
}

It works for me. You can check the gradle-plugins I wrote:
https://github.com/linkedin/gradle-plugins particularly the
org.linkedin.release plugin

Yan
-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/Repository-Resolvers-to-download-ivy-xml-tp3340448p3340834.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


Reply via email to