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