Skip to content

[Do Not Review] build: Raise minimum AGP to 9.1.1 for Android 17 toolchain prep#5674

Draft
0xadam-brown wants to merge 1 commit into
mainfrom
chore/android-17-toolchain
Draft

[Do Not Review] build: Raise minimum AGP to 9.1.1 for Android 17 toolchain prep#5674
0xadam-brown wants to merge 1 commit into
mainfrom
chore/android-17-toolchain

Conversation

@0xadam-brown

Copy link
Copy Markdown
Member

Summary

  • Bump default AGP fallback to 9.2.1 (compileSdk 37 requires AGP 9.1.1+)
  • Refresh agp-matrix to [9.1.1, 9.2.0, 9.2.1]
  • Add AGP 9 migration opt-outs (builtInKotlin/newDsl) until kotlin-android removal
  • AGP 9 compatibility fixes for replay, compose, and distribution modules

Test plan

  • ./gradlew check green locally
  • agp-matrix workflow green (all AGP × integrations combinations)
  • integration-tests-ui-critical green
  • integration-tests-ui green
  • integration-tests-benchmarks green
  • system-tests-backend green

Made with Cursor

Bump the default AGP fallback to 9.2.1, refresh the AGP-compat matrix,
and add AGP 9 migration opt-outs until we adopt built-in Kotlin and the
new DSL. Includes AGP 9 compatibility fixes for replay and compose modules.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor
Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Features

- Raise minimum AGP to 9.1.1 for Android 17 toolchain prep ([#5674](https://github.com/getsentry/sentry-java/pull/5674))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against 2952bea

@sentry

sentry Bot commented Jul 2, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

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

⚙️ sentry-android Build Distribution Settings

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 339.14 ms 392.90 ms 53.76 ms
Size 0 B 0 B 0 B

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
abfcc92 304.04 ms 370.33 ms 66.29 ms
4e3e79d 365.83 ms 477.62 ms 111.79 ms
d8912da 329.94 ms 389.68 ms 59.74 ms
d15471f 294.13 ms 399.49 ms 105.36 ms
abf451a 332.82 ms 403.67 ms 70.85 ms
604a261 380.65 ms 451.27 ms 70.62 ms
806307f 357.85 ms 424.64 ms 66.79 ms
22f4345 307.87 ms 354.51 ms 46.64 ms
d217708 375.27 ms 415.68 ms 40.41 ms
c3ee041 310.64 ms 361.90 ms 51.26 ms

App size

Revision Plain With Sentry Diff
abfcc92 1.58 MiB 2.13 MiB 557.31 KiB
4e3e79d 0 B 0 B 0 B
d8912da 0 B 0 B 0 B
d15471f 1.58 MiB 2.13 MiB 559.54 KiB
abf451a 1.58 MiB 2.20 MiB 635.29 KiB
604a261 1.58 MiB 2.10 MiB 533.42 KiB
806307f 1.58 MiB 2.10 MiB 533.42 KiB
22f4345 1.58 MiB 2.29 MiB 719.83 KiB
d217708 1.58 MiB 2.10 MiB 532.97 KiB
c3ee041 0 B 0 B 0 B

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