chore(deps): bump gradle-wrapper from 7.5.1 to 9.7.0 - #44
Conversation
Bumps [gradle-wrapper](https://github.com/gradle/gradle) from 7.5.1 to 9.7.0. - [Release notes](https://github.com/gradle/gradle/releases) - [Commits](gradle/gradle@v7.5.1...v9.7.0) --- updated-dependencies: - dependency-name: gradle-wrapper dependency-version: 9.7.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 5071357. Configure here.
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.0-bin.zip |
There was a problem hiding this comment.
Gradle 9 breaks Boot build
High Severity
Bumping the wrapper to Gradle 9.7.0 leaves the project on Spring Boot Gradle plugin 3.0.4, which only supports Gradle 7.5+/8.x. That plugin still uses removed Gradle file-permission APIs (getDirMode/getFileMode), so ./gradlew bootJar in CI is likely to fail with a NoSuchMethodError before packaging succeeds. io.freefair.lombok 6.6.3 is also Gradle 7-era and is similarly at risk.
Reviewed by Cursor Bugbot for commit 5071357. Configure here.
| echo location of your Java installation. 1>&2 | ||
|
|
||
| goto fail | ||
| "%COMSPEC%" /c exit 1 |
There was a problem hiding this comment.
Wrapper ignores Java failure
Low Severity
After printing a missing or invalid Java error, gradlew.bat runs "%COMSPEC%" /c exit 1 but does not stop the script. Control falls through into later labels and can still reach the Java launch path, producing extra errors instead of exiting cleanly as the previous goto fail flow did.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 5071357. Configure here.


Bumps gradle-wrapper from 7.5.1 to 9.7.0.
Release notes
Sourced from gradle-wrapper's releases.
... (truncated)
Commits
3defbfcmake DistributionIntegrationSpec more permissive for releases (#38766)f176043make DistributionIntegrationSpec more permissive for releasesb0828daPrepare release notes for Gradle 9.7.0GA (#38756)064b6d6cleanupdfe7bdcadd new training to release notes7561968add release notes for 3780168a1f35cherrypick 38367 to releasea462c95Rebalance AllVersionsCrossVersion buckets for agents without TestDistribution...820e2b1Update Gradle wrapper to version 9.7.0-rc-3 (#38743)75ea3d7Update Gradle wrapper to version 9.7.0-rc-3Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Note
Medium Risk
Major Gradle version jump (7→9) can break plugins or build logic until CI
./gradlew bootJaris verified; changes are limited to wrapper tooling, not application code.Overview
Upgrades the Gradle wrapper from 7.5.1 to 9.7.0 via
gradle/wrapper/gradle-wrapper.properties, so local and CI builds download and run the newer distribution.gradlewandgradlew.batare regenerated to match current Gradle templates: the JVM is started with-jar gradle-wrapper.jarinstead of a-classpathlaunch ofGradleWrapperMain, plus minor script fixes (e.g.APP_HOMEresolution, stderr on Windows errors, SPDX header).Reviewers should confirm
./gradlew bootJar(and any other Gradle tasks in CI) still pass under Gradle 9.x and that the JDK in use meets Gradle 9.7 compatibility.Reviewed by Cursor Bugbot for commit 5071357. Configure here.