fix assembleDocumentation task
This commit is contained in:
parent
fc91131278
commit
1ec2cd6c5e
|
@ -68,13 +68,12 @@ dependencies {
|
||||||
*
|
*
|
||||||
* Depends on building the docs
|
* Depends on building the docs
|
||||||
*/
|
*/
|
||||||
task assembleDocumentation {
|
task assembleDocumentation(type: Copy) {
|
||||||
group 'Release'
|
group 'Release'
|
||||||
description 'Assembles all documentation into the {buildDir}/documentation directory'
|
description 'Assembles all documentation into the {buildDir}/documentation directory'
|
||||||
|
|
||||||
dependsOn rootProject.project( 'documentation' ).tasks.buildDocsForPublishing
|
dependsOn rootProject.project( 'documentation' ).tasks.buildDocsForPublishing
|
||||||
|
|
||||||
doLast {
|
|
||||||
// copy documentation outputs into target/documentation.
|
// copy documentation outputs into target/documentation.
|
||||||
// * this is used in building the dist bundles
|
// * this is used in building the dist bundles
|
||||||
// * it is also used as a base to build a staged directory for documentation upload
|
// * it is also used as a base to build a staged directory for documentation upload
|
||||||
|
@ -109,7 +108,6 @@ task assembleDocumentation {
|
||||||
into "${documentationDir}/javadocs"
|
into "${documentationDir}/javadocs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//task assembleProjectTemplates(type:Copy, dependsOn: project( ":project-template" ).tasks.assembleDist) {
|
//task assembleProjectTemplates(type:Copy, dependsOn: project( ":project-template" ).tasks.assembleDist) {
|
||||||
// def templateProject = project( ":project-template" )
|
// def templateProject = project( ":project-template" )
|
||||||
|
|
Loading…
Reference in New Issue