Skip to content

Conversation

@bziemons
Copy link

@bziemons bziemons commented Sep 14, 2025

I am not sure if this PR is even worth creating, because I do not know whether 4.x should still be supported. I also do not know, if all the changes are made were necessary, but I struggled quite a bit getting the included NeoForge 1.20.4 run configurations to work and getting Gradle to like my changes. Sorry for the mess, but I saw this was cleaned up for the 5.x branch anyway.

I successfully tested the changes with the ported NeoForge gametests in 1.20.4 and with the mod I am working with on LexForge 1.20.1. It would be great to have this available here in upstream.

To summarise my changes:

  • updated the gradle wrapper to 8.14
  • updated Kotlin (and friends) to what fabric-language-kotlin version 1.13.5+kotlin.2.2.10 provides
  • cleaned up the manifests having multiple different module names (first issue)
  • fixed forge/kfflib/src/test/kotlin/thedarkcolour/kfflibtest/InGameTester.kt (implementing the sane API changes from MinecraftForge/MinecraftForge@90dafb0)
  • ported forge/kfflib/src/test to NeoForge
  • copied nonmclibs configuration from :neoforge:kfflang to :neoforge:kfflib (to run the tests)
  • overwrote the org.jetbrains:annotations version to fix another JPMS module issue where version 13 and 23+ clashed on the classpath
  • bumped the version to 4.12.0

* updated the gradle wrapper to 8.14
* updated Kotlin (and friends) to what fabric-language-kotlin version 1.13.5+kotlin.2.2.10 provides
* fixed `forge/kfflib/src/test/kotlin/thedarkcolour/kfflibtest/InGameTester.kt` (implementing the *sane* API changes from <MinecraftForge/MinecraftForge@90dafb0>)
* ported `forge/kfflib/src/test` to NeoForge
* copied nonmclibs configuration to kfflib (to run the tests)
* overwrote the `org.jetbrains:annotations` version to fix a JPMS module issue where version 13 and 23+ clashed on the classpath
* bumped the version to 4.12.0
@bziemons bziemons force-pushed the 4.x-fix-update-kotlin-2.2.10 branch from 1db9571 to 29e6adf Compare October 4, 2025 13:57
@bitmochibit
Copy link

This would be awesome!

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