From 204b01768d641e0fa00877bd8e8bf4fc5ea9866b Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Tue, 24 Nov 2020 13:01:39 +0100 Subject: [PATCH] Fix issue with gradle build with java 11 --- gradle/javadoc.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/javadoc.gradle b/gradle/javadoc.gradle index 9c8930f66e..2140ef4402 100644 --- a/gradle/javadoc.gradle +++ b/gradle/javadoc.gradle @@ -45,7 +45,7 @@ javadoc { // 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. System.out.println("Forcing Javadoc in Java 8 compatible mode"); - options.source = project.baselineJavaVersion + options.source = gradle.ext.baselineJavaVersion } addStringOption( 'Xdoclint:none', '-quiet' )