Skip to content

chore: prevent auto-update of FirebaseUI and AGP - #2857

Open
thatfiredev wants to merge 1 commit into
masterfrom
rpf/prevent-updates
Open

thatfiredev wants to merge 1 commit into
masterfrom
rpf/prevent-updates

Conversation

@thatfiredev

Copy link
Copy Markdown
Member

Prevent these 2 libraries from being bumped by @dpebot :

  • FirebaseUI: Version 10.x of the library is Compose-only, but our quickstarts are not yet.
  • Android Gradle Plugin: Version 9.5.1 has a bug that keeps failing the build: b/567301321

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates build.gradle.kts to block updates for com.firebaseui and introduces a helper function isBuggyAGP to reject buggy Android Gradle Plugin (AGP) versions (<= 9.5.1) during dependency updates. Feedback points out that the current version parsing logic in isBuggyAGP is prone to a NumberFormatException when encountering pre-release versions containing non-numeric characters, and that the matching logic is overly broad, potentially blocking unrelated com.android. libraries. A safer parsing and matching implementation is suggested.

Comment thread build.gradle.kts Resolved
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