Skip to content

Fix Gradle version compatibility issues for Android#1210

Merged
tustanivsky merged 7 commits intomainfrom
fix/gradle-version
Jan 29, 2026
Merged

Fix Gradle version compatibility issues for Android#1210
tustanivsky merged 7 commits intomainfrom
fix/gradle-version

Conversation

@tustanivsky
Copy link
Collaborator

@tustanivsky tustanivsky commented Jan 28, 2026

This PR addresses build errors encountered when targeting Android Shipping configuration. These issues were introduced by recent updates to:

Note: On Android, debug symbol upload occurs only when packaging the Shipping configuration with For Distribution flag checked. For this reason, it has to be enabled in CI to properly verify that the Sentry's Android Gradle plugin behaves as expected.

Key changes

  • Added Shipping configuration to Android build targets list in CI
  • Added the protobuf-javalite dependency required for the tombstone integration feature (feat: minimal tombstone integration sentry-java#4933)
  • Enabled overriding the engine’s default Gradle version for UE 5.5+
  • Set the default Gradle version to v8.14.2 to align with the version used by the
    Sentry Android Gradle plugin
  • Removed automatic symbol upload configuration via environment variable in CI scrips and enabled it in sample project settings instead (in Android UPL file we can't read env vars).

#skip-changelog

@github-actions
Copy link
Contributor

github-actions bot commented Jan 28, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@tustanivsky tustanivsky marked this pull request as ready for review January 28, 2026 14:11
@tustanivsky tustanivsky merged commit 26f2b32 into main Jan 29, 2026
159 of 161 checks passed
@tustanivsky tustanivsky deleted the fix/gradle-version branch January 29, 2026 07:20
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