android: Get a warning on use of deprecated features

This commit is contained in:
Tobias Brunner 2016-04-12 17:43:39 +02:00
parent 4c5f4a3d2a
commit 8e71dd9e82
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ android {
tasks.withType(JavaCompile) {
compileTask -> compileTask.dependsOn buildNative
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
clean.dependsOn 'cleanNative'