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
  3. 2
      jme3-desktop/build.gradle
  4. 2
      jme3-examples/build.gradle

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

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

@ -4,4 +4,4 @@ if (!hasProperty('mainClass')) {
dependencies {
compile project(':jme3-core')
}
}

@ -126,4 +126,4 @@ task dist (dependsOn: ['build', ':jme3-jogl:jar', ':jme3-bullet:jar', ':jme3-and
rename {project(':jme3-bullet-native-android').name+".jar"}
}
}
}
}
Loading…
Cancel
Save