Or even:

task distributionTar { ... }

subprojects {
  task prepForDistributionTar
  distributionTar.dependsOn prepForDistributionTar
}

The prepForDistributionTar tasks could then either be configured here or in
the subprojects' build scripts.

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradleware
http://www.gradleware.com
Creator, Spock Framework
http://spockframework.org


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Dependencies-on-child-projects-when-root-project-doesn-t-have-the-same-tasks-tp3408123p3408339.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