From 510e9137d8bf5393315d1fd875229c2ec6954fc6 Mon Sep 17 00:00:00 2001 From: shadowislord Date: Sat, 31 May 2014 13:21:59 -0400 Subject: [PATCH] * Disable doclint if building on Java 8 to avoid failed build --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 52c71cee7..e878687d4 100644 --- a/build.gradle +++ b/build.gradle @@ -74,6 +74,11 @@ task mergedJavadoc(type: Javadoc, description: 'Creates Javadoc from all the pro title = 'jMonkeyEngine3' destinationDir = mkdir("dist/javadoc") + // Allows Javadoc to be generated on Java 8 despite doclint errors. + if (JavaVersion.current().isJava8Compatible()) { + options.addStringOption('Xdoclint:none', '-quiet') + } + // Note: The closures below are executed lazily. source subprojects.collect {project -> project.sourceSets*.allJava