mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix(build): resolve all actionable compile-time warnings (#5058)
This commit is contained in:
parent
3d139d32fd
commit
929e273978
10 changed files with 34 additions and 17 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue