Hello Tomek,

it is so easy, I can't beleive :(

On Tuesday 23 March 2010 09:32:18, Tomek Kaczanowski wrote:
> not sure if it answers your question, but have you seen this:
> http://docs.codehaus.org/display/GRADLE/Cookbook#Cookbook-Gatheringalldepen
>dencieslibrariesJARsinonefolder

The chapter above your hint 
(http://docs.codehaus.org/display/GRADLE/Cookbook#Cookbook-Includeallruntimedependencies)
guided me to the solution:

uploadArchives.doLast {
   targetDir = new File(rootProject.buildDir.absolutePath + '/install/', 
targetSubDir)
   libDir = new File(rootProject.buildDir, '/install/lib')
   copy {
      from artifacts
      into targetDir   
      exclude 'JRC-Framework**'
      exclude 'VdrAssistant**'
   }
   for(file in configurations.runtime) {
//      println file
      copy {
         from file
         into libDir
      }
   }
}

That upload task works without "illegal" referring to anther top-level 
project. All dependencies are resolved :)
Now I can go for my fat installer jars ...

Thanks again for your attention.

kind regards

Geronimo

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to