binder: Do not fail binder build on javadoc errors (#9941)

We will be running this with Java 11, which has elevated some earlier
warnings to errors that fail the build. We don't want the build to fail
because of this.
This commit is contained in:
Terry Wilson 2023-03-08 10:02:02 -08:00 committed by GitHub
parent 3332199106
commit 2351e37dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,9 @@ tasks.register("javadocs", Javadoc) {
addStringOption('Xdoclint:none', '-quiet') addStringOption('Xdoclint:none', '-quiet')
} }
} }
// This is to enable moving to Java 11. An existing problem with javadoc
// produces a warning under Java 8, but with Java 11 it fails the build.
failOnError false
} }
tasks.register("javadocJar", Jar) { tasks.register("javadocJar", Jar) {