fix(build): resolve all actionable compile-time warnings (#5058)

This commit is contained in:
James Rich 2026-04-10 17:42:30 -05:00 committed by GitHub
parent 3d139d32fd
commit 929e273978
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 34 additions and 17 deletions

View file

@ -33,6 +33,10 @@ configure<com.android.build.api.dsl.LibraryExtension> {
publishing { singleVariant("release") { withSourcesJar() } }
}
// Suppress dep-ann warnings from AIDL-generated code where Javadoc @deprecated
// doesn't produce @Deprecated annotations on Stub/Proxy override methods.
tasks.withType<JavaCompile>().configureEach { options.compilerArgs.add("-Xlint:-dep-ann") }
// Map the Android component to a Maven publication
afterEvaluate {
publishing {