Tweak docs build to only prevent "assemble" from depending on the archive/upload tasks.

This commit is contained in:
Luke Taylor 2010-08-22 22:42:54 +01:00
parent 98108d2694
commit 837771537f
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,5 @@
// Docbook and Javadoc building and uploading tasks
apply plugin: 'base'
subprojects {
apply plugin: 'base'
@ -104,4 +105,6 @@ task uploadFaq(type: TarUpload) {
login = docSiteLogin
with(project('faq').spec)
}
}
assemble.dependsOn = [apidocs, 'manual:docbook']

View File

@ -11,7 +11,7 @@ dependencies {
}
task dist(type: Zip) {
dependsOn ':docs:apidocs', ':docs:manual:docbook', subprojects*.tasks*.matching { task -> task.name == 'assemble' }
dependsOn subprojects*.tasks*.matching { task -> task.name == 'assemble' }
evaluationDependsOn(':docs')