build: Bump AGP to 9.4.0 - #6070
Draft
runningcode wants to merge 2 commits into
Draft
Conversation
Raise the default Android Gradle Plugin from 9.2.1 to 9.4.0, the latest stable release, and move the pinned lint version with it so lint keeps matching the plugin it ships alongside. Refresh the AGP compatibility matrix to 9.0.0/9.2.1/9.4.0. The minimum supported 9.0.0 and the new default stay covered; 9.1.1 gives way to the previous default 9.2.1 to keep the matrix at three jobs. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
📲 Install BuildsAndroid
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
Bumps the default Android Gradle Plugin from
9.2.1to9.4.0, the latest stable release.Config.AGPdefault fallback:9.2.1→9.4.0android.experimental.lint.version:9.2.1→9.4.0, kept in lockstep with AGP as it has been since it was introduced9.0.0 / 9.1.1 / 9.2.1→9.0.0 / 9.2.1 / 9.4.0The matrix keeps the minimum supported version (
9.0.0) and the new default (9.4.0).9.1.1gives way to the previous default9.2.1so the matrix stays at three jobs; happy to pick a different middle version if you'd rather keep9.1.1.No source or API changes were needed —
apiDumpproduced no diff.💡 Motivation and Context
Keep the toolchain on the current stable AGP.
💚 How did you test it?
Locally on JDK 17:
./gradlew assembleRelease— build scan./gradlew lint— clean, no new findings from lint 9.4.0 — build scan./gradlew :sentry-android-core:testReleaseUnitTest— build scan./gradlew spotlessApply apiDump— no changes producedThe AGP matrix workflow exercises the full 9.0.0 / 9.2.1 / 9.4.0 range on CI.
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
None.