1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 14:22:05 +01:00

Ensure javac uses uft8 as encoding

This commit is contained in:
Florian Schmaus 2014-08-19 00:46:59 +02:00
parent 342ab65138
commit a49eac7c00

View file

@ -72,6 +72,13 @@ allprojects {
}
}
compileJava {
// Some systems may not have set their platform default
// converter to 'utf8', but we use unicode in our source
// files. Therefore ensure that javac uses unicode
options.encoding = "utf8"
}
if (JavaVersion.current().isJava8Compatible()) {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')