Skip to content

Bump gradle-wrapper from 9.5.1 to 9.7.0 - #4504

Open
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/gradle/gradle-wrapper-9.7.0
Open

Bump gradle-wrapper from 9.5.1 to 9.7.0#4504
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/gradle/gradle-wrapper-9.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor

Bumps gradle-wrapper from 9.5.1 to 9.7.0.

Release notes

Sourced from gradle-wrapper's releases.

9.7.0

The Gradle team is excited to announce Gradle 9.7.0.

Here are the highlights of this release:

  • Isolated Projects graduates to incubating
  • Broader Configuration Cache compatibility
  • More source locations in problem reports

Read the Release Notes

We would like to thank the following community members for their contributions to this release of Gradle: Adam, Aman Gautam, Aman Kumar, Anton Dubrouski, Aurimas, gbhavya07, Josh Friend, nicklauslittle-gov, Pragati, project516, Qin Mi, Ravi, sk-reddy17, Suvrat Acharya, Yongshun Ye.

Upgrade instructions

Switch your build to use Gradle 9.7.0 by updating your wrapper:

./gradlew :wrapper --gradle-version=9.7.0 && ./gradlew :wrapper

See the Gradle 9.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.

For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.

Reporting problems

If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.

9.7.0 RC3

The Gradle team is excited to announce Gradle 9.7.0 RC3.

Here are the highlights of this release:

  • Isolated Projects graduates to incubating

... (truncated)

Commits
  • 3defbfc make DistributionIntegrationSpec more permissive for releases (#38766)
  • f176043 make DistributionIntegrationSpec more permissive for releases
  • b0828da Prepare release notes for Gradle 9.7.0GA (#38756)
  • 064b6d6 cleanup
  • dfe7bdc add new training to release notes
  • 7561968 add release notes for 37801
  • 68a1f35 cherrypick 38367 to release
  • a462c95 Rebalance AllVersionsCrossVersion buckets for agents without TestDistribution...
  • 820e2b1 Update Gradle wrapper to version 9.7.0-rc-3 (#38743)
  • 75ea3d7 Update Gradle wrapper to version 9.7.0-rc-3
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [gradle-wrapper](https://github.com/gradle/gradle) from 9.5.1 to 9.7.0.
- [Release notes](https://github.com/gradle/gradle/releases)
- [Commits](gradle/gradle@v9.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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Aug 24, 2026
@alecgrieser

Copy link
Copy Markdown
Collaborator

There are some deprecation warnings from the upgrade. I'll try and look at fixing those before we merge this

@alecgrieser alecgrieser added the DO NOT MERGE do not merge label Aug 24, 2026
Comment thread gradle/check.gradle
pmd {
consoleOutput = true
ignoreFailures = false
targetJdk = '1.7'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is no longer necessary. PMD now figures this out from the JDK configuration. This has been deprecated with no replacement

Comment thread gradle/check.gradle
def SpotBugsTaskClass = classLoader.findLoadedClass('com.github.spotbugs.snom.SpotBugsTask')
spotbugs {
toolVersion = libs.versions.spotbugs.get()
toolVersion = rootProject.libs.versions.spotbugs.get()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This needs to be referenced explicitly by rootProject to avoid a new deprecation warning (will become an error in Gradle 10). The exact situations where this must be done is very situational, and I've only made the changes where it's necessary by the build. This is in the subprojects lambda of the main build.gradle file and in the files imported from that spot. It's not necessary in the bulk of cases (i.e., within a subproject file's list of dependencies)

@alecgrieser alecgrieser removed the DO NOT MERGE do not merge label Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant