Skip to content

chore(deps): update gradle to v9.7.0 - #3016

Merged
nedtwigg merged 1 commit into
mainfrom
renovate/gradle-9.x
Aug 17, 2026
Merged

chore(deps): update gradle to v9.7.0#3016
nedtwigg merged 1 commit into
mainfrom
renovate/gradle-9.x

Conversation

@renovate

@renovate renovate Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
gradle (source) minor 9.4.19.7.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

gradle/gradle (gradle)

v9.7.0

Compare Source

v9.6.1

Compare Source

v9.6.0

Compare Source

v9.5.1: 9.5.1

Compare Source

The Gradle team is excited to announce Gradle 9.5.1.

Here are the highlights of this release:

  • Task provenance in reports and failure messages
  • Type-safe accessors for precompiled Kotlin Settings plugins

Read the Release Notes

We would like to thank the following community members for their contributions to this release of Gradle:
atm1020,
mataha,
Adam,
Attila Kelemen,
Benedikt Ritter,
Björn Kautler,
Caro Silva Rode,
CHANHAN,
Dmitry Nezavitin,
Eng Zer Jun,
KugelLibelle,
Madalin Valceleanu,
Markus Gaisbauer,
Oliver Kopp,
Philip Wedemann,
ploober,
Roberto Perez Alcolea,
Rohit Anand,
Suvrat Acharya,
Ujwal Suresh Vanjare,
Victor Merkulov

Upgrade instructions

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

./gradlew wrapper --gradle-version=9.5.1 && ./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.

v9.5.0: 9.5.0

Compare Source

The Gradle team is excited to announce Gradle 9.5.0.

Here are the highlights of this release:

  • Task provenance in reports and failure messages
  • Type-safe accessors for precompiled Kotlin Settings plugins

Read the Release Notes

We would like to thank the following community members for their contributions to this release of Gradle:
atm1020,
mataha,
Adam,
Attila Kelemen,
Benedikt Ritter,
Björn Kautler,
Caro Silva Rode,
CHANHAN,
Dmitry Nezavitin,
Eng Zer Jun,
KugelLibelle,
Madalin Valceleanu,
Markus Gaisbauer,
Oliver Kopp,
Philip Wedemann,
ploober,
Roberto Perez Alcolea,
Rohit Anand,
Suvrat Acharya,
Ujwal Suresh Vanjare,
Victor Merkulov

Upgrade instructions

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

./gradlew wrapper --gradle-version=9.5.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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update Gradle to v9.7.0 chore(deps): update gradle to v9.7.0 Aug 17, 2026
@renovate
renovate Bot force-pushed the renovate/gradle-9.x branch from 48ba217 to 781e553 Compare August 17, 2026 04:16
@nedtwigg
nedtwigg merged commit 6e8779d into main Aug 17, 2026
35 checks passed
@nedtwigg
nedtwigg deleted the renovate/gradle-9.x branch August 17, 2026 04:52
pull Bot pushed a commit to Mu-L/spotless that referenced this pull request Aug 17, 2026
Bumping the wrapper past 9.4.1 (diffplug#3016) surfaced two independent
regressions.

1. Gradle 9.5.0 broke `testlib/build.gradle`:

     Could not get unknown property 'sourceSets' for project ':lib'
     of type ...DefaultProjectDependency

   Inside a `dependencies { }` block, `project(path)` used to resolve to
   `Project.project(String)` and return a `Project`. As of 9.5.0 it
   resolves to `DependencyHandler.project(String)` and returns a
   `ProjectDependency`, which has no `sourceSets`:

     9.4.1: project(String) -> ...project.LifecycleAwareProject_Decorated
     9.5.0: project(String) -> ...dependencies.DefaultProjectDependency_Decorated

   The line turns out to be unnecessary. `:lib`'s jar already bundles
   every glue source set, and that jar is on testlib's runtime
   classpath, which is where FeatureClassLoader resolves
   `com.diffplug.spotless.glue.*`. So just drop it.

2. Gradle 9.6.0 silently broke publishing. The legacy software-model
   `model { publishing { } }` rule no longer binds, so the pluginMaven
   publication is never created and publishToMavenLocal becomes a no-op
   with no error:

     9.5.1: > Task :lib-extra:publishPluginMavenPublicationToMavenLocal
     9.6.0: > Task :lib-extra:publishToMavenLocal UP-TO-DATE

   Unwrapping it to a plain `publishing { }` block fixes it. The
   software model is slated for removal in Gradle 10 anyway. Generated
   pom-default.xml and module.json are byte-identical before and after
   for all four published projects.

Neither change is documented in Gradle's 9.5/9.6 release notes or the
9.x upgrade guide.

Verified at 9.7.0: spotlessCheck, `assemble testClasses`, and
`build -x spotlessCheck -PSPOTLESS_EXCLUDE_MAVEN=true` (748 tests) all
pass, publishToMavenLocal runs the same 66 tasks as on 9.4.1, and the
signing/Sonatype release tasks are still wired. Everything still passes
on 9.4.1, so this can land ahead of the wrapper bump.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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