GitHub user breautek added a comment to the discussion: Android: Compile with
`-Xlint:deprecation`
In the projects build.gradle file (not to be confused with the module/app's
build.gradle) the following will enable deprecation prints:
```
allprojects {
subprojects {
afterEvaluate {
tasks.withType(JavaCompile).tap {
configureEach {
options.compilerArgs += "-Xlint:deprecation"
}
}
}
}
}
```
Not sure on the best way to inject this into the cordova project, but I feel
like this should be an option that can be enabled, maybe via a preference.
GitHub link:
https://github.com/apache/cordova/discussions/553#discussioncomment-13698966
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]