Use UTF-8 in gradle builds

accellbaker
lifeinwild 6 years ago committed by Riccardo Balbo
parent a43ad8ecfe
commit 7e11a6c0fe
  1. 2
      common.gradle
  2. 1
      jme3-bullet/build.gradle

@ -43,6 +43,8 @@ javadoc {
options.header = "<b>jMonkeyEngine ${jmeMainVersion} ${project.name}</b>" options.header = "<b>jMonkeyEngine ${jmeMainVersion} ${project.name}</b>"
options.author = "true" options.author = "true"
options.use = "true" options.use = "true"
options.charSet = "UTF-8"
options.encoding = "UTF-8"
//disable doclint for JDK8, more quiet output //disable doclint for JDK8, more quiet output
if (JavaVersion.current().isJava8Compatible()){ if (JavaVersion.current().isJava8Compatible()){
options.addStringOption('Xdoclint:none', '-quiet') options.addStringOption('Xdoclint:none', '-quiet')

@ -33,6 +33,7 @@ task generateNativeHeaders(type: Exec, dependsOn: classes) {
args "-h", nativeIncludes args "-h", nativeIncludes
args "@$projectDir/java_classes.jtxt" args "@$projectDir/java_classes.jtxt"
args '-d', classBuildDir args '-d', classBuildDir
args "-encoding", "UTF-8"
} }
assemble.dependsOn(generateNativeHeaders) assemble.dependsOn(generateNativeHeaders)
Loading…
Cancel
Save