Skip to content
This repository was archived by the owner on Jun 24, 2021. It is now read-only.

Commit 19876b9

Browse files
author
kcr
committed
8209358: Broken links in API docs for css page, fxml page, and all image files
Reviewed-by: prr
1 parent ed53c0d commit 19876b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4423,7 +4423,10 @@ task javadoc(type: Javadoc, dependsOn: createMSPfile) {
44234423
]);
44244424

44254425
doLast {
4426+
// FIXME: remove JDK 10 logic once minimum JDK is bumped to 11
4427+
def isBootJdk10 = jdkVersion.startsWith("10")
44264428
projectsToDocument.each { p ->
4429+
def destDir = isBootJdk10 ? "$buildDir/javadoc" : "$buildDir/javadoc/${p.ext.moduleName}"
44274430
copy {
44284431
from("$p.projectDir/src/main/docs") {
44294432
include "**/*.html"
@@ -4435,7 +4438,7 @@ task javadoc(type: Javadoc, dependsOn: createMSPfile) {
44354438
exclude "**/*.html"
44364439
}
44374440

4438-
into "$buildDir/javadoc"
4441+
into destDir
44394442
}
44404443
}
44414444
}

0 commit comments

Comments
 (0)