Gradle should be able to automatically infer the correct task dependencies if
you used a Copy task rather than an opaque task and Project.copy():
task prepareDistribution(type: Copy) {
from configurations.binaries
into 'build/dist'
from configurations.sources {
into 'sources'
}
from configurations.javadoc {
into 'javadoc'
}
}
If you don't need an exploded distribution, you can get rid of the
prepareDistribution task and do all of this in the buildDistribution task.
--
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/Gradle-does-not-honor-dependencies-in-multi-module-project-tp4329149p4329846.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