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
Moshi-sealed-runtime: More than one file was found with OS independent path 'META-INF/runtime.kotlin_module' #129
Comments
Want to send a PR? |
slmlt
pushed a commit
to slmlt/MoshiX
that referenced
this issue
Jul 5, 2021
Sure. That should fix it: #130 |
slmlt
pushed a commit
to slmlt/MoshiX
that referenced
this issue
Jul 5, 2021
ZacSweers
pushed a commit
that referenced
this issue
Jul 5, 2021
Thank you for the quick response! Would be great to see an update as soon as possible though, as this issue kinda blocks a feature in a project I am currently working on :) |
You're welcome to use a snapshot or build from source until then |
ZacSweers
pushed a commit
that referenced
this issue
Jul 16, 2021
ZacSweers
added a commit
that referenced
this issue
Jul 17, 2021
Resolved in 0.12.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After adding
dev.zacsweers.moshix:moshi-sealed-runtime:0.11.2
dependency, project fails to build with the following error:More than one file was found with OS independent path 'META-INF/runtime.kotlin_module'.
It seems like a module name mangling problem, as stated here https://ncorti.com/blog/name-mangling-in-kotlin
Possible solution is to pass the -module-name compiler flag in the library (in fact, it might prove useful to add this statement to all moshiX libraries)
The text was updated successfully, but these errors were encountered: