Fix issue with gradle build with java 11

This commit is contained in:
Andrea Boriero 2020-11-24 13:01:39 +01:00
parent bb4c4d0767
commit 204b01768d
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ javadoc {
// For now, let's be compatible with JDK 11.0.3+. We can improve on it if people // For now, let's be compatible with JDK 11.0.3+. We can improve on it if people
// complain they cannot build with JDK 11.0.0, 11.0.1 and 11.0.2. // complain they cannot build with JDK 11.0.0, 11.0.1 and 11.0.2.
System.out.println("Forcing Javadoc in Java 8 compatible mode"); System.out.println("Forcing Javadoc in Java 8 compatible mode");
options.source = project.baselineJavaVersion options.source = gradle.ext.baselineJavaVersion
} }
addStringOption( 'Xdoclint:none', '-quiet' ) addStringOption( 'Xdoclint:none', '-quiet' )