Forcing the project to always build JavaDoc with UTF-8 encoding.

This commit is contained in:
InShadow 2016-02-25 08:26:56 -08:00
parent 67fef7e767
commit 78a921e300

View File

@ -90,6 +90,8 @@ task dist(dependsOn: [':jme3-examples:dist', 'mergedJavadoc']){
task mergedJavadoc(type: Javadoc, description: 'Creates Javadoc from all the projects.') {
title = 'jMonkeyEngine3'
destinationDir = mkdir("dist/javadoc")
options.encoding = 'UTF-8'
// Allows Javadoc to be generated on Java 8 despite doclint errors.
if (JavaVersion.current().isJava8Compatible()) {