mirror of
https://github.com/google/nomulus.git
synced 2025-05-20 19:29:35 +02:00
Fix javadoc build (#1866)
With newer versions of Java 11, javadoc fails to build due to unknown tags in package-info.java files. These files are not important so we exclude them. <!-- Reviewable:start --> - - - This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/google/nomulus/1866) <!-- Reviewable:end -->
This commit is contained in:
parent
6a07e6db5e
commit
9ee16bc5cc
1 changed files with 4 additions and 0 deletions
|
@ -528,6 +528,10 @@ task javaIncrementalFormatApply {
|
|||
|
||||
task javadoc(type: Javadoc) {
|
||||
source javadocSource
|
||||
// Java 11.0.17 has the following bug that affects annotation handling on
|
||||
// package-info.java:
|
||||
// https://bugs.openjdk.org/browse/JDK-8222091
|
||||
exclude "**/package-info.java"
|
||||
classpath = files(javadocClasspath)
|
||||
destinationDir = file("${buildDir}/docs/javadoc")
|
||||
options.encoding = "UTF-8"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue