Skip to content

Pin androidx.appcompat to 1.7.0 explicitly (post-Firebase-BOM-33.16.0 follow-up)#3692

Draft
avazirna wants to merge 1 commit intodeps/firebase-bom-33.16.0from
deps/androidx-1.7-explicit-pins
Draft

Pin androidx.appcompat to 1.7.0 explicitly (post-Firebase-BOM-33.16.0 follow-up)#3692
avazirna wants to merge 1 commit intodeps/firebase-bom-33.16.0from
deps/androidx-1.7-explicit-pins

Conversation

@avazirna
Copy link
Copy Markdown
Contributor

@avazirna avazirna commented May 6, 2026

Technical Summary

Stacked on top of the Firebase BOM 33.16.0 PR (#3691). After that bump, androidx.appcompat is already being resolved to 1.7.0 transitively via the BOM's Firebase SDK constraints — but the build file still declares 1.2.0. This PR bumps the explicit pin to match what's actually shipping, so:

  • git blame on app/build.gradle surfaces the appcompat upgrade as an intentional change.
  • The build file's stated versions match the resolved versions.
  • Future Dependabot diffs against appcompat won't be muddled by version drift between the explicit pin and the transitively-resolved version.

No behavioral change vs. the BOM bump alone — Gradle was already resolving appcompat to 1.7.0. This PR only changes the declaration.

Diff

- implementation 'androidx.appcompat:appcompat:1.2.0'
+ implementation 'androidx.appcompat:appcompat:1.7.0'

One line.

Safety Assurance

Safety story

Automated test coverage

N/A. The build/test outcome is identical to the BOM PR (since the resolved bytes are the same).

QA Plan

  • All AndroidX-related QA from the BOM PR covers the actual behavioral surfaces.
  • After this PR merges, run ./gradlew :app:dependencies and confirm appcompat:1.7.0 is reported with no (*) substitution arrow on the explicit declaration line.

Labels and Review

Out of scope (deliberately)

These would be sensible follow-ups but are not in this PR:

  • Bumping lifecycle_version from 2.5.12.9.0 to match the BOM-resolved value.
  • Bumping legacy_support_version (currently 1.0.0) to a more current AndroidX legacy compat.
  • Adding explicit pins for core, fragment, activity-ktx, annotation, or any other AndroidX library getting transitively bumped.

Firebase BOM 33.16.0 transitively forces appcompat 1.2.0 -> 1.7.0
via firebase SDK dependency constraints. This commit makes that
upgrade explicit at the user-facing pin so it's visible in the
build file rather than hidden in the resolution graph.

No behavioral change vs. the BOM bump alone — Gradle was already
resolving appcompat to 1.7.0 transitively. Making it explicit lets
git blame surface the appcompat upgrade as an intentional change
and makes the build file's stated versions match what's actually
shipped.

Part of the post-BOM-bump AndroidX impact follow-up tracked in the
Firebase BOM 33.16.0 PR.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@avazirna avazirna self-assigned this May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant