-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Forge reports exported package conflicts for kotlin reflect #87
Comments
If this is in IntelliJ, you'll need to exclude okhttp's transitive dependencies on Kotlin in Gradle. |
I tried, the issue persists still. |
Could you send a link to your mod's GitHub repository? |
It's private. I could provide snippets of the build files if you'd like. |
Have you checked the compiled JAR file for your mod with a ZIP viewer like 7zip? Make sure you aren't shadowing the dependencies and check META-INF/jarjar for Kotlin libraries. |
Yeah, I double checked that nothing is being shaded or JiJ'ed in |
Marking as duplicate of #86 since the root cause is the same |
This is my first time writing a mod using KFF and I've ran into an issue where Forge will throw an exception, complaining that my mod exports the same package as KFF:
kotlin.reflect.jvm.internal.impl.load.java
I've made sure that I'm not shading any Kotlin stdlib, reflect or coroutine dependencies into my JAR along with okhttp and I can't seem to find where Forge's JiJ locator is finding these files.
The text was updated successfully, but these errors were encountered: