Skip to content

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

Open
sciwhiz12 wants to merge 16 commits intoneoforged:mainfrom
sciwhiz12:update-gradle-9
Open

Update to Gradle 9, Java 17, JGit 7, and other dependencies#41
sciwhiz12 wants to merge 16 commits intoneoforged:mainfrom
sciwhiz12:update-gradle-9

Conversation

@sciwhiz12
Copy link
Copy Markdown
Member

@sciwhiz12 sciwhiz12 commented Mar 29, 2026

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

  • GroovyDSLImprover to 2.0.0
  • JGit 7.6.0 (requires Java 17)
  • plugin-publish Gradle plugin to 2.0.0
  • Immaculate to 0.2.4
  • 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
@sciwhiz12 sciwhiz12 requested a review from Matyrobbrt March 31, 2026 15:57
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