Skip to content

Commit e463f6b

Browse files
committed
HHH-8730 - uploadDocumentation task needs to stage aggregated javadocs before rsync
(cherry picked from commit 40a8657)
1 parent 5963b6a commit e463f6b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

release/release.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ task assembleDocumentation(type: Task, dependsOn: [rootProject.project( 'documen
2727
description = 'Assembles all documentation into the {buildDir}/documentation directory'
2828

2929
doLast {
30-
// copy docbook outputs into target/documentation (javadocs are already there). this is used in
31-
// building the dist bundles
30+
// copy documentation outputs into target/documentation.
31+
// * this is used in building the dist bundles
32+
// * it is also used as a base to build a staged directory for documentation upload
3233
copy {
3334
from "${rootProject.project( 'documentation' ).buildDir}/docbook/publish"
3435
into documentationDir
@@ -38,8 +39,8 @@ task assembleDocumentation(type: Task, dependsOn: [rootProject.project( 'documen
3839
into documentationDir
3940
}
4041
copy {
41-
from "${rootProject.project( 'documentation' ).buildDir}/javadoc"
42-
into documentationDir
42+
from "${rootProject.project( 'documentation' ).buildDir}/javadocs"
43+
into "${documentationDir}/javadocs"
4344
}
4445
}
4546
}

0 commit comments

Comments
 (0)