Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,13 @@ dependencyAnalysis {
// We explicitly want to pull in these dependencies transitively from AC
exclude('org.mozilla.appservices.nightly:fxaclient', 'org.mozilla.geckoview:geckoview-nightly-omni')
}
onDuplicateClassWarnings {
// Android R classes are duplicated by design between :app and its library
// dependencies, so they're not a real classpath conflict. Filter them out
// rather than disabling duplicate-class detection entirely.
// https://github.com/autonomousapps/dependency-analysis-gradle-plugin/issues/1335
excludeRegex('.*[./]R(\\$.*)?')
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ androidx-test-uiautomator = "2.4.0-beta02"

# Third Party Linting & Static Code Analysis
androidx-lint = "1.0.0-rc01"
dependency-analysis = "3.10.0"
dependency-analysis = "3.14.0"
detekt = "1.23.8"
jspecify = "1.0.0"
ktlint = "1.8.0"
Expand Down