ote: Recompile with -Xlint:deprecation for details code example
Example: recompile with -Xlint:deprecation
//add to android project level build.gradle
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}