Skip to content

Bump min Gradle requirement to 9.4.0 - #2114

Merged
Goooler merged 1 commit into
mainfrom
g/20260721/bump-min-gradle
Jul 24, 2026
Merged

Bump min Gradle requirement to 9.4.0#2114
Goooler merged 1 commit into
mainfrom
g/20260721/bump-min-gradle

Conversation

@Goooler

@Goooler Goooler commented Jul 21, 2026

Copy link
Copy Markdown
Member

Aims for release 9.7.0.


  • CHANGELOG's "Unreleased" section has been updated, if applicable.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR raises Shadow’s minimum supported Gradle version to 9.4.0, allowing removal of pre-9.4 compatibility shims and simplifying related functional tests, CI matrix, and documentation.

Changes:

  • Bump the minimum Gradle version used for compatibility testing/CI to 9.4.0.
  • Remove Gradle < 9.4 compatibility helpers (extendsFromCompat, moveGradleApiIntoCompileOnly) and simplify plugin code accordingly.
  • Update docs and changelog to reflect the new minimum requirement.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/ShadowJavaPlugin.kt Switches configuration wiring to direct extendsFrom(...) and removes legacy Gradle API relocation hook.
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/GradleCompat.kt Deletes Gradle < 9.4 compatibility helpers no longer needed after the version bump.
src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow/JavaPluginsTest.kt Simplifies assertions now that Gradle < 9.4 is no longer supported in the test matrix.
README.md Updates the compatibility table to reflect the new minimum Gradle version for the next release line.
docs/README.md Mirrors the README compatibility table update for the documentation site.
docs/changes/README.md Adds an Unreleased changelog entry for the minimum Gradle bump.
build.gradle.kts Updates Tapmoc’s minimum Gradle configuration to 9.4.0.
.github/workflows/build.yml Updates CI to test against Gradle 9.4.0 and current.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Goooler
Goooler force-pushed the g/20260721/bump-min-gradle branch from 363bf81 to 56be5ef Compare July 21, 2026 08:40
Comment thread docs/changes/README.md Outdated
@Goooler
Goooler marked this pull request as draft July 23, 2026 01:42
@Goooler
Goooler force-pushed the g/20260721/bump-min-gradle branch from 56be5ef to 706d5e1 Compare July 24, 2026 10:06
@Goooler
Goooler marked this pull request as ready for review July 24, 2026 10:06
@Goooler
Goooler force-pushed the g/20260721/bump-min-gradle branch from 706d5e1 to 1ab582e Compare July 24, 2026 10:08
@Goooler
Goooler merged commit edaebf1 into main Jul 24, 2026
5 checks passed
@Goooler
Goooler deleted the g/20260721/bump-min-gradle branch July 24, 2026 10:09
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.

2 participants