alts: Re-enable deprecation warnings (#10640)

google/protobuf#4046 was fixed a long time ago. Recently noticed when
working on ForwardingChannelBuilder(2).
This commit is contained in:
Eric Anderson 2023-11-02 10:09:09 -07:00 committed by GitHub
parent 302f756449
commit 073ca92e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -49,10 +49,6 @@ configureProtoCompilation()
import net.ltgt.gradle.errorprone.CheckSeverity
[tasks.named("compileJava"), tasks.named("compileTestJava")]*.configure {
// protobuf calls valueof. Will be fixed in next release (google/protobuf#4046)
options.compilerArgs += [
"-Xlint:-deprecation"
]
// ALTS returns a lot of futures that we mostly don't care about.
options.errorprone.check("FutureReturnValueIgnored", CheckSeverity.OFF)
}