Forcing the project to always build JavaDoc with UTF-8 encoding.
This commit is contained in:
parent
67fef7e767
commit
78a921e300
@ -91,6 +91,8 @@ task mergedJavadoc(type: Javadoc, description: 'Creates Javadoc from all the pro
|
|||||||
title = 'jMonkeyEngine3'
|
title = 'jMonkeyEngine3'
|
||||||
destinationDir = mkdir("dist/javadoc")
|
destinationDir = mkdir("dist/javadoc")
|
||||||
|
|
||||||
|
options.encoding = 'UTF-8'
|
||||||
|
|
||||||
// Allows Javadoc to be generated on Java 8 despite doclint errors.
|
// Allows Javadoc to be generated on Java 8 despite doclint errors.
|
||||||
if (JavaVersion.current().isJava8Compatible()) {
|
if (JavaVersion.current().isJava8Compatible()) {
|
||||||
options.addStringOption('Xdoclint:none', '-quiet')
|
options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user