PaperMC / PaperMC/paperweight

[patcher] Not compatible with Gradle 9.5.0 or superior

Open
#389 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
317
Forks
76
Avg merge
1d 12h
Merged PRs (30d)
5

Description

The build fails with this stacktrace

The issue is caused by this change to NestedRootBuildRunner in Gradle 9.5.0, which is used by Paperweight here

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the stacktrace and inspect paperweight-core/src/main/kotlin/io/papermc/paperweight/core/tasks/RunNestedBuild.kt around line 71. Compare the Gradle 9.5.0 NestedRootBuildRunner change linked in the issue with how Paperweight invokes it. Done means the build no longer fails with Gradle 9.5.0 or newer.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.