Skip to content

build: Bump AGP to 9.4.0 - #6070

Open
runningcode wants to merge 1 commit into
mainfrom
no/bump-agp-9-4-0
Open

build: Bump AGP to 9.4.0#6070
runningcode wants to merge 1 commit into
mainfrom
no/bump-agp-9-4-0

Conversation

@runningcode

Copy link
Copy Markdown
Contributor

📜 Description

Bumps the default Android Gradle Plugin from 9.2.1 to 9.4.0, the latest stable release.

  • Config.AGP default fallback: 9.2.19.4.0
  • android.experimental.lint.version: 9.2.19.4.0, kept in lockstep with AGP as it has been since it was introduced
  • AGP compatibility matrix: 9.0.0 / 9.1.1 / 9.2.19.0.0 / 9.2.1 / 9.4.0

The matrix keeps the minimum supported version (9.0.0) and the new default (9.4.0). 9.1.1 gives way to the previous default 9.2.1 so the matrix stays at three jobs; happy to pick a different middle version if you'd rather keep 9.1.1.

No source or API changes were needed — apiDump produced no diff.

💡 Motivation and Context

Keep the toolchain on the current stable AGP.

💚 How did you test it?

Locally on JDK 17:

  • ./gradlew assembleReleasebuild scan
  • ./gradlew lint — clean, no new findings from lint 9.4.0 — build scan
  • ./gradlew :sentry-android-core:testReleaseUnitTestbuild scan
  • ./gradlew spotlessApply apiDump — no changes produced

The AGP matrix workflow exercises the full 9.0.0 / 9.2.1 / 9.4.0 range on CI.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.

🔮 Next steps

None.

@sentry

sentry Bot commented Sep 8, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.55.0 (1) release

⚙️ sentry-android Build Distribution Settings

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>
@runningcode
runningcode force-pushed the no/bump-agp-9-4-0 branch 2 times, most recently from 495bcf8 to 17bd46c Compare September 9, 2026 16:22
@runningcode
runningcode marked this pull request as ready for review September 9, 2026 16:23

@0xadam-brown 0xadam-brown left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Lgtm

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.

2 participants