Build: Switch to building javadoc with html5 (#30440)

We accidentally switched back to html4 in #30279 when we removed the
gradle hack that we were using to convert the projects one by one.
This commit is contained in:
Nik Everett 2018-05-08 07:38:28 -04:00 committed by GitHub
parent 6884b79128
commit 5b8bdcd111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -549,6 +549,11 @@ class BuildPlugin implements Plugin<Project> {
javadoc.classpath = javadoc.getClasspath().filter { f ->
return classes.contains(f) == false
}
/*
* Generate docs using html5 to suppress a warning from `javadoc`
* that the default will change to html5 in the future.
*/
javadoc.options.addBooleanOption('html5', true)
}
configureJavadocJar(project)
}