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:
parent
342ab65138
commit
a49eac7c00
1 changed files with 7 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue