[#875] Fix gradle build encoding

This commit is contained in:
Rsl1122 2019-01-12 13:00:30 +02:00
parent dbe54f918b
commit c6c24f8c0f
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@ allprojects {
exceptionFormat "full"
}
}
// Fix for UTF-8 files showing with wrong encoding when compiled on Windows machines.
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}
subprojects {