Revert "Remove -no-module-directories flag from javadoc build (#2201)" (#2229)

This reverts commit f9a11cce5e.
This commit is contained in:
Peter Johnson
2020-01-04 19:52:43 -08:00
committed by GitHub
parent bc159a92a7
commit bedbef7999

View File

@@ -125,6 +125,7 @@ task generateJavaDocs(type: Javadoc) {
ext.entryPoint = "$destinationDir/index.html"
if (JavaVersion.current().isJava11Compatible()) {
options.addBooleanOption('-no-module-directories', true)
doLast {
// This is a work-around for https://bugs.openjdk.java.net/browse/JDK-8211194. Can be removed once that issue is fixed on JDK's side
// Since JDK 11, package-list is missing from javadoc output files and superseded by element-list file, but a lot of external tools still need it