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 // Docbook and Javadoc building and uploading tasks
apply plugin: 'base'
subprojects { subprojects {
apply plugin: 'base' apply plugin: 'base'
@ -105,3 +106,5 @@ task uploadFaq(type: TarUpload) {
with(project('faq').spec) with(project('faq').spec)
} }
assemble.dependsOn = [apidocs, 'manual:docbook']

View File

@ -11,7 +11,7 @@ dependencies {
} }
task dist(type: Zip) { 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') evaluationDependsOn(':docs')