[#875] Fix gradle build encoding

This commit is contained in:
Rsl1122 2019-01-12 13:00:30 +02:00
parent dbe54f918b
commit c6c24f8c0f

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 {