Closed jbaron closed 1 year ago
Do you have a multiplatform maven project?
I'm not sure that maven works correctly with the multiplatform kotlin plugin and, accordingly, with multiplatform libraries. If your project is jvm only, then use direct dependency: org.jetbrains.kotlinx:multik-core-jvm:0.2.1
Thanks !!! The direct dependency (multik-core-jvm) did the try for me and for now I'm using it only in a JVM only setup.
When I add multik (core + default) to my Maven pom file, I cannot use it since the import statements are not recognised.
When I looked into my local Maven repo for version 0.2.1 of multi-core using
jar --list -f multik-core-0.2.1.jar
, it seems the published jar file doesn't contain the right directory structures. Small snippet:It looks like the packaging during deployment to Maven Central went wrong (or is this something only Gradle is able to parse)?