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