mirror of https://github.com/grpc/grpc-java.git
android-interop-testing: Enable -Xlint:deprecation
This commit is contained in:
parent
90d0fabb1f
commit
b8e3ae9a4b
|
|
@ -116,7 +116,6 @@ import net.ltgt.gradle.errorprone.CheckSeverity
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
options.compilerArgs += [
|
options.compilerArgs += [
|
||||||
"-Xlint:-cast",
|
"-Xlint:-cast",
|
||||||
"-Xlint:-deprecation", // https://github.com/grpc/grpc-java/issues/10298
|
|
||||||
]
|
]
|
||||||
appendToProperty(it.options.errorprone.excludedPaths, ".*/R.java", "|")
|
appendToProperty(it.options.errorprone.excludedPaths, ".*/R.java", "|")
|
||||||
appendToProperty(
|
appendToProperty(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue