Closed lilgallon closed 1 year ago
The problem appears when the kotlin core code is executed.
Tried a lot of things:
Class-Path
It works well for fabric, I don't know what forge is doing under the hood... I don't know if it's a design issue of KFF or Forge or Both
I got it working by adding the core module sourceSet to forge
Kotlin for forge shades the kotlin stdlib instead of "jar-in-jaring" it. So the forge module can not depend on an external non-mod library that depends on kotlin stdlib. The only way to fix the conflict would be to depend on kotlin for forge in the common module. Which is something I really don't want.
It's being tracked there: https://github.com/MinecraftForge/MinecraftForge/issues/8878
Minecraft crashes with ClassNotFoundException
There is an issue with https://github.com/thedarkcolour/KotlinForForge. The kff jar includes the kotlin dependencies, I don't understand why it crashes in runtime