Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

- Set `write` permission for `statuses` in the changelog preview GHA workflow. ([#5053](https://github.com/getsentry/sentry-java/pull/5053))

### Dependencies

- Bump Gradle from v8.14.3 to v9.3.0 ([#5031](https://github.com/getsentry/sentry-java/pull/5031))
- [changelog](https://github.com/gradle/gradle/blob/master/CHANGELOG.md#v930)
- [diff](https://github.com/gradle/gradle/compare/v8.14.3...v9.3.0)

## 8.31.0

### Features
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-bin.zip
Copy link

Choose a reason for hiding this comment

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

Bug: The upgrade to Gradle 9.3.0 is incompatible with the project's current Android Gradle Plugin (AGP) version 8.6.0, which requires a Gradle 8.x version.
Severity: HIGH

Suggested Fix

To resolve this, either downgrade the Gradle version to one compatible with AGP 8.6.0 (e.g., a version within the 8.7 to <9.0 range), or upgrade the AGP version to one that is officially supported by Gradle 9.3.0 (e.g., AGP 9.0+).

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: gradle/wrapper/gradle-wrapper.properties#L3

Potential issue: The pull request upgrades Gradle to version 9.3.0. However, the project
is configured to use Android Gradle Plugin (AGP) version 8.6.0 by default. According to
official compatibility matrices, AGP 8.6.x requires a Gradle version between 8.7 and 9.0
(exclusive). Since Gradle 9.3.0 is outside this supported range, this mismatch will
likely cause build failures during the configuration phase. This affects all Android
modules in the project.

Did we get this right? 👍 / 👎 to inform future reviews.

networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Loading