Skip to content
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

How to use with Kotlin Multiplatform? #24

Open
MV-GH opened this issue Oct 13, 2023 · 2 comments
Open

How to use with Kotlin Multiplatform? #24

MV-GH opened this issue Oct 13, 2023 · 2 comments

Comments

@MV-GH
Copy link

MV-GH commented Oct 13, 2023

I can't seem to get it work with KMP.

It seems to throw a bunch of these errors for each target I have.

Caused by: org.gradle.internal.component.NoMatchingConfigurationSelectionException: No matching variant of io.mcarle:konvert-api:2.3.0 was found. The consumer was configured to find a library for use during 'kotlin-api', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js', attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir' but:
@MV-GH MV-GH changed the title How to se with Kotlin Multiplatform? How to use with Kotlin Multiplatform? Oct 13, 2023
@MV-GH
Copy link
Author

MV-GH commented Oct 14, 2023

#26 after changing JDK to 17 it builds. But I can only use it Kotlin/jvm. Since this is a pure Kotlin library could you add commonMain target for Kotlin multiplatform

@mcarleio
Copy link
Owner

I have not yet informed myself about KMP very much, therefore I have no idea what is needed and where I may be bound to JVM at the moment. In general you are probably right, Konvert does not need to depend on JVM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants