1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 10:19:41 +02:00

Enable Xwerror for smack-android-extensions

This commit is contained in:
Florian Schmaus 2018-10-07 09:55:36 +02:00
parent eab5682a03
commit 082540c633
2 changed files with 18 additions and 0 deletions

View file

@ -7,3 +7,11 @@ dependencies {
compile project(':smack-android')
compile project(':smack-extensions')
}
if (JavaVersion.current().isJava8Compatible()) {
tasks.withType(Javadoc) {
// Treat warnings as errors.
// See also https://bugs.openjdk.java.net/browse/JDK-8200363
options.addStringOption('Xwerror', '-quiet')
}
}