Skip to content

Commit cc7f533

Browse files
committed
Build: Switch to building javadoc with html5
We accidentally switched back to html4 in elastic#30279 when we removed the gradle hack that we were using to convert the projects one by one.
1 parent ef4ecb1 commit cc7f533

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy

+5
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,11 @@ class BuildPlugin implements Plugin<Project> {
549549
javadoc.classpath = javadoc.getClasspath().filter { f ->
550550
return classes.contains(f) == false
551551
}
552+
/*
553+
* Generate docs using html5 to suppress a warning from `javadoc`
554+
* that the default will change to html5 in the future.
555+
*/
556+
javadoc.options.addBooleanOption('html5', true)
552557
}
553558
configureJavadocJar(project)
554559
}

0 commit comments

Comments
 (0)