* Disable doclint if building on Java 8 to avoid failed build
This commit is contained in:
parent
6b12d5c638
commit
510e9137d8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user