fix assembleDocumentation task
This commit is contained in:
parent
fc91131278
commit
1ec2cd6c5e
|
@ -68,46 +68,44 @@ dependencies {
|
|||
*
|
||||
* Depends on building the docs
|
||||
*/
|
||||
task assembleDocumentation {
|
||||
task assembleDocumentation(type: Copy) {
|
||||
group 'Release'
|
||||
description 'Assembles all documentation into the {buildDir}/documentation directory'
|
||||
|
||||
dependsOn rootProject.project( 'documentation' ).tasks.buildDocsForPublishing
|
||||
|
||||
doLast {
|
||||
// copy documentation outputs into target/documentation.
|
||||
// * this is used in building the dist bundles
|
||||
// * it is also used as a base to build a staged directory for documentation upload
|
||||
// copy documentation outputs into target/documentation.
|
||||
// * this is used in building the dist bundles
|
||||
// * it is also used as a base to build a staged directory for documentation upload
|
||||
|
||||
// Integrations Guide
|
||||
copy {
|
||||
from "${rootProject.project( 'documentation' ).buildDir}/asciidoc/integrationguide"
|
||||
into "${documentationDir}/integrationguide"
|
||||
}
|
||||
// Integrations Guide
|
||||
copy {
|
||||
from "${rootProject.project( 'documentation' ).buildDir}/asciidoc/integrationguide"
|
||||
into "${documentationDir}/integrationguide"
|
||||
}
|
||||
|
||||
// Getting-started Guide
|
||||
copy {
|
||||
from "${rootProject.project( 'documentation' ).buildDir}/asciidoc/quickstart"
|
||||
into "${documentationDir}/quickstart"
|
||||
}
|
||||
// Getting-started Guide
|
||||
copy {
|
||||
from "${rootProject.project( 'documentation' ).buildDir}/asciidoc/quickstart"
|
||||
into "${documentationDir}/quickstart"
|
||||
}
|
||||
|
||||
// Topical Guide
|
||||
copy {
|
||||
from "${rootProject.project( 'documentation' ).buildDir}/asciidoc/topical"
|
||||
into "${documentationDir}/topical"
|
||||
}
|
||||
// Topical Guide
|
||||
copy {
|
||||
from "${rootProject.project( 'documentation' ).buildDir}/asciidoc/topical"
|
||||
into "${documentationDir}/topical"
|
||||
}
|
||||
|
||||
// User Guide
|
||||
copy {
|
||||
from "${rootProject.project( 'documentation' ).buildDir}/asciidoc/userguide"
|
||||
into "${documentationDir}/userguide"
|
||||
}
|
||||
// User Guide
|
||||
copy {
|
||||
from "${rootProject.project( 'documentation' ).buildDir}/asciidoc/userguide"
|
||||
into "${documentationDir}/userguide"
|
||||
}
|
||||
|
||||
// Aggregated JavaDoc
|
||||
copy {
|
||||
from "${rootProject.project( 'documentation' ).buildDir}/javadocs"
|
||||
into "${documentationDir}/javadocs"
|
||||
}
|
||||
// Aggregated JavaDoc
|
||||
copy {
|
||||
from "${rootProject.project( 'documentation' ).buildDir}/javadocs"
|
||||
into "${documentationDir}/javadocs"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue