Allow building on Java 11 (and set Travis to build on OpenJDK 11)

This commit is contained in:
Andrew Steinborn
2019-10-04 17:09:41 -04:00
parent 7747679ee1
commit b18f65fe0a
2 changed files with 5 additions and 1 deletions

View File

@@ -8,3 +8,4 @@ cache:
- $HOME/.gradle/wrapper/ - $HOME/.gradle/wrapper/
jdk: jdk:
- openjdk8 - openjdk8
- openjdk11

View File

@@ -73,6 +73,9 @@ javadoc {
// Disable the crazy super-strict doclint tool in Java 8 // Disable the crazy super-strict doclint tool in Java 8
options.addStringOption('Xdoclint:none', '-quiet') options.addStringOption('Xdoclint:none', '-quiet')
// Mark sources as Java 8 source compatible
options.source = '8'
} }
publishing { publishing {