Update Gradle to v9.6.0#2051
Merged
Merged
Conversation
Member
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the project’s Gradle wrapper to 9.6.0 and aligns build/test infrastructure and documentation snippets with Gradle 9.6 / Kotlin DSL patterns, including enabling the new NO_IMPLICIT_LOOKUP_IN_PARENT_PROJECTS feature preview.
Changes:
- Bump Gradle Wrapper from 9.5.1 to 9.6.0.
- Enable
NO_IMPLICIT_LOOKUP_IN_PARENT_PROJECTSin the main build and conditionally enable it in TestKit-generated settings for test runs on Gradle ≥ 9.6.0. - Refresh Kotlin DSL examples and build script configuration to use
register(...)/getByName(...)style APIs.
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/testKit/kotlin/com/github/jengelman/gradle/plugins/shadow/testkit/GradleRunner.kt | Adds Gradle-version-gated feature preview injection helper for TestKit builds. |
| src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow/BasePluginTest.kt | Injects the conditional feature preview line into generated settings scripts for functional tests. |
| src/documentTest/kotlin/com/github/jengelman/gradle/plugins/shadow/snippet/SnippetExecutable.kt | Injects the conditional feature preview line into settings used for executing documentation snippets. |
| settings.gradle.kts | Enables NO_IMPLICIT_LOOKUP_IN_PARENT_PROJECTS for the main build. |
| gradle/wrapper/gradle-wrapper.properties | Updates wrapper distribution to Gradle 9.6.0. |
| build.gradle.kts | Refactors configuration/sourceSet declarations and wiring to use registered providers (register/named). |
| docs/publishing/README.md | Updates Kotlin DSL snippet to use tasks.register<...>(\"...\"). |
| docs/kotlin-plugins/README.md | Updates Kotlin Multiplatform sourceSets snippet to use getByName(...). |
| docs/custom-tasks/README.md | Updates Kotlin DSL snippets to use tasks.register<...>(\"...\"). |
| docs/configuration/README.md | Updates Kotlin DSL snippet to use tasks.register<...>(\"...\") and get(). |
| docs/configuration/dependencies/README.md | Updates Kotlin DSL snippet to use configurations.create(\"...\"). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.5.1→9.6.0Release Notes
gradle/gradle (gradle)
v9.6.0Compare Source
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.