Skip to content

Update to Gradle 9, Java 17, JGit 7, and other dependencies - #41

Merged
sciwhiz12 merged 23 commits into
neoforged:mainfrom
sciwhiz12:update-gradle-9
Jul 18, 2026
Merged

Update to Gradle 9, Java 17, JGit 7, and other dependencies#41
sciwhiz12 merged 23 commits into
neoforged:mainfrom
sciwhiz12:update-gradle-9

Conversation

@sciwhiz12

@sciwhiz12 sciwhiz12 commented Mar 29, 2026

Copy link
Copy Markdown
Member

This PR updates GradleUtils to Gradle 9.6.1, Java 17, and other dependency updates:

  • GroovyDSLImprover to 2.0.0
  • JGit 7.7.0 (requires Java 17)
  • plugin-publish Gradle plugin to 2.1.1
  • Immaculate to 0.2.5
  • foojay-resolver-convention to 1.0.0

This also changes from the CadixDev licenser plugin to the NeoForged licenser plugin.

The main impetus of this PR, aside from Gradle 9, is to update to JGit 7. Aside from the minimum Java requirement being increased to Java 17, JGit 7 also adds support for reading1 worktrees, which would partially supersede PR #1 (at least in purpose).

Footnotes

  1. Modifying worktrees is not yet supported, but GradleUtils does not modify the git repository anyway.

@sciwhiz12 sciwhiz12 added the enhancement New feature or request label Mar 29, 2026
Comment thread .github/workflows/build-prs.yml Outdated
Comment thread gradle/wrapper/gradle-wrapper.jar
Comment thread settings.gradle
@sciwhiz12
sciwhiz12 requested a review from Matyrobbrt March 31, 2026 15:57
@sciwhiz12
sciwhiz12 merged commit f8920fa into neoforged:main Jul 18, 2026
1 check passed
@sciwhiz12
sciwhiz12 deleted the update-gradle-9 branch July 18, 2026 17:06
@neoforged-releases

Copy link
Copy Markdown

🚀 This PR has been released as GradleUtils version 6.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants