-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JarJar does not work with certain libraries #222
Comments
Off the top of my head this could be due to kotlinx-serialization publishing its standard JVM artifacts via an |
Figured out the issue; due to the |
I'm just using ForgeGradle for now. It works fine on there, you might be able to track down where the bug was introduced |
ForgeGradle still uses the old jarJar implementation, which is... Atrocious, and does a lot of gradle bad practice (and hence has its own set of bugs -- see, including jars it doesn't list in the metadata and stuff like that). This bug was introduced in my complete rewrite of the gradle side of jarJar and is a consequence of an edge case I hadn't considered when implementing everything the right way. I poked it yesterday and I should have a solution -- the module ID of where the contained stuff is available-at is available through the variant list of the root component, so I should be able to recover what's needed there. I'll hopefully PR a fix in the next few days. |
I was having an issue with one of my mods that jarjars Kotlin Serialization and noticed it was missing from the final JAR.
I tried to reproduce this in a barebones workspace, and Serialization didn't show up in the fatjar either. Here's the test repo: 1.21 KotlinForForge template
Adding the same buildscript code as in that test repo with a ForgeGradle workspace works just fine.
The text was updated successfully, but these errors were encountered: