Use UTF-8 in gradle builds
This commit is contained in:
parent
a43ad8ecfe
commit
7e11a6c0fe
@ -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…
x
Reference in New Issue
Block a user