Explorar o código

Merge pull request #425 from InShadow/patch-javadoc-encoding

Forcing the project to always build JavaDoc with UTF-8 encoding.
Kirill Vainer %!s(int64=9) %!d(string=hai) anos
pai
achega
82689b650a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      build.gradle

+ 2 - 0
build.gradle

@@ -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()) {