1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 18:29:45 +02:00

Enable -Werror and add XmppHostnameVerifier

We now treat warnings as errors (-Werror).

In order to do so, it was necessary to remove Java7HostnameVerifier
since it depended on internal properietary API. XmppHostnameVerifier
take the place of it.
This commit is contained in:
Florian Schmaus 2015-03-23 14:09:37 +01:00
parent f546d28ad8
commit 40a2a28ebe
5 changed files with 301 additions and 89 deletions

View file

@ -118,6 +118,7 @@ allprojects {
options.encoding = "utf8"
options.compilerArgs = [
'-Xlint:all',
'-Werror',
]
}