Skip to content

Update Gradle, Kotlin, and Loom to support Inline 1.2.2#1043

Merged
Robotgiggle merged 5 commits into
mainfrom
misc-fixes
May 12, 2026
Merged

Update Gradle, Kotlin, and Loom to support Inline 1.2.2#1043
Robotgiggle merged 5 commits into
mainfrom
misc-fixes

Conversation

@Robotgiggle
Copy link
Copy Markdown
Member

@Robotgiggle Robotgiggle commented May 11, 2026

The current implementation of the pattern overlay feature added in #879 relies on a method in Inline that was renamed in the 1.2.0 update. Thus, if anyone uses a version of Inline beyond that point with the current version of hex, it will break. This PR updates hex's Inline dependency to the latest version and updates the relevant methods to their new names to prevent that from happening, and also updates a bunch of core libraries which are required for the new Inline version.

Note that if this PR does not get merged before the 0.11.4 release, we should instead change the Inline dependency in fabric.mod.json (fabric) and mods.toml (forge) to explicitly exclude Inline versions 1.2.0 and onwards.

Also note that the new Kotlin version (2.2.21) now gives a bunch of warnings about the use of public copy() methods on data classes with private constructors, since that functionality will be removed in future versions of Kotlin. More info can be found here and here.

Copy link
Copy Markdown
Member

@object-Object object-Object left a comment

Choose a reason for hiding this comment

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

LGTM, but wondering if we should also bump the versions of the kotlin library mods.

Comment thread .github/workflows/pr.yml
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we also need to update the versions for fabric-language-kotlin and kotlinforforge?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same here and in mods.toml - should we increase the minimum required kotlin versions?

@Robotgiggle
Copy link
Copy Markdown
Member Author

Hmm yeah, probably should update those too

@Robotgiggle Robotgiggle added this pull request to the merge queue May 12, 2026
Merged via the queue into main with commit cdc023a May 12, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from 📋 Backlog to ✅ Done in Hex Casting May 12, 2026
Robotgiggle added a commit that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants