a uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. code example
Example: uses or overrides a deprecated API.
allprojects {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}