android: Get a warning on use of deprecated features

This commit is contained in:
Tobias Brunner
2016-04-27 14:24:27 +02:00
parent 4c5f4a3d2a
commit 8e71dd9e82
+1
View File
@@ -29,6 +29,7 @@ android {
tasks.withType(JavaCompile) {
compileTask -> compileTask.dependsOn buildNative
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
clean.dependsOn 'cleanNative'