* Disable doclint if building on Java 8 to avoid failed build

experimental
shadowislord 11 years ago
parent 6b12d5c638
commit 510e9137d8
  1. 5
      build.gradle

@ -74,6 +74,11 @@ task mergedJavadoc(type: Javadoc, description: 'Creates Javadoc from all the pro
title = 'jMonkeyEngine3' title = 'jMonkeyEngine3'
destinationDir = mkdir("dist/javadoc") 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. // Note: The closures below are executed lazily.
source subprojects.collect {project -> source subprojects.collect {project ->
project.sourceSets*.allJava project.sourceSets*.allJava

Loading…
Cancel
Save