mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
Enable Xwerror for smack-android-extensions
This commit is contained in:
parent
eab5682a03
commit
082540c633
2 changed files with 18 additions and 0 deletions
|
@ -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')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue