Ensure gradle uses UTF-8
This commit is contained in:
parent
95b48b9438
commit
8e7f79a9ea
1 changed files with 6 additions and 0 deletions
|
@ -45,6 +45,12 @@ apply from: 'gradle/scripts/optional.gradle'
|
|||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
// ensure everything uses UTF-8 and not some random codepage chosen by gradle
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
version = aeversion + "-" + aechannel + "-" + aebuild
|
||||
group = aegroup
|
||||
archivesBaseName = aebasename
|
||||
|
|
Loading…
Reference in a new issue