HHH-8730 - uploadDocumentation task needs to stage aggregated javadocs before rsync
This commit is contained in:
parent
6fb5a899bd
commit
40a8657de5
|
@ -27,8 +27,9 @@ task assembleDocumentation(type: Task, dependsOn: [rootProject.project( 'documen
|
||||||
description = 'Assembles all documentation into the {buildDir}/documentation directory'
|
description = 'Assembles all documentation into the {buildDir}/documentation directory'
|
||||||
|
|
||||||
doLast {
|
doLast {
|
||||||
// copy docbook outputs into target/documentation (javadocs are already there). this is used in
|
// copy documentation outputs into target/documentation.
|
||||||
// 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
|
||||||
copy {
|
copy {
|
||||||
from "${rootProject.project( 'documentation' ).buildDir}/docbook/publish"
|
from "${rootProject.project( 'documentation' ).buildDir}/docbook/publish"
|
||||||
into documentationDir
|
into documentationDir
|
||||||
|
@ -38,8 +39,8 @@ task assembleDocumentation(type: Task, dependsOn: [rootProject.project( 'documen
|
||||||
into documentationDir
|
into documentationDir
|
||||||
}
|
}
|
||||||
copy {
|
copy {
|
||||||
from "${rootProject.project( 'documentation' ).buildDir}/javadoc"
|
from "${rootProject.project( 'documentation' ).buildDir}/javadocs"
|
||||||
into documentationDir
|
into "${documentationDir}/javadocs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue