In 9.7.3 in the documentation, this example is given:
dists {
    dists {
       tasksBaseName = 'gradle'
       dependsOn 'explodedDist'
       childrenDependOn << 'explodedDist'
       zip() {
          zipFileSet(dir: explodedDistDir, prefix: "gradle-$version") {
              exclude '**/*.tmp'
          } 
       }
       zip("gradle-src") {
         String prefix = "$gradle-src-$version"
         zipFileSet(dir: projectDir, prefix: prefix) {
            include 'src/', 'gradle.groovy'
         }
      }
   }
}

I'm having a hard time understanding it. 

Does the first 'dists' refer to the 'dists' task? if so, shouldn't it be
'dists.configure...'? What is the second 'dists'?

Can I do the same for 'libs'?

Thank you,
Ittay
-- 
View this message in context: 
http://www.nabble.com/question-about-example-in-the-documentation-tp17492911p17492911.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