Hello

I am trying to do the following:

#######
apply plugin: 'base'

repositories {
  add(new org.apache.ivy.plugins.resolver.FileSystemResolver()) {
    name = "ivyrepo"
    addIvyPattern
"/tmp/repository/[organisation]/[module]/[revision]/[module]-[revision].ivy"
    addArtifactPattern
"/tmp/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
    m2compatible = true
  }
}

configurations {
  downloadTar
}

dependencies {
  downloadTar group: 'test.gradle', name: 'project1', version: version,
configuration: 'tarArchive'
}

task download(dependsOn: configurations.downloadTar) << {
  println configurations.downloadTar.artifacts
}
#######

I need to get a hold of a tar file that is stored in an ivy repository for
further processing. When I execute this I get:
[]

which is essentially telling me that there is no artifacts ? What am I doing
wrong ?

Thanks
Yan Pujante

Reply via email to