android: Get a warning on use of deprecated features
This commit is contained in:
1 parent
4c5f4a3d2a
commit
8e71dd9e82
1 file changed
+1
@@ -29,6 +29,7 @@ android {
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
compileTask -> compileTask.dependsOn buildNative
|
||||
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
||||
}
|
||||
|
||||
clean.dependsOn 'cleanNative'
|
||||
|
||||
Reference in new issue
Block a user