Skip to content

Commit

Permalink
Build: Switch to building javadoc with html5 (#30440)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nik9000 authored May 8, 2018
1 parent 6884b79 commit 5b8bdcd
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 5b8bdcd

Please sign in to comment.