-
-
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
Add Kotlin/Native support #741
Comments
Welcome with your first issue |
This library depends on MicroUtils. Today I tried to update this library to support native and got next error in compilation: No matching variant of org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 was found. The consumer was configured to find a usage of 'kotlin-api' of a library, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native', attribute 'org.jetbrains.kotlin.native.target' with value 'linux_arm64' but:
- Variant 'commonMainMetadataElements' capability org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 declares a usage of 'kotlin-api' of a library:
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native'
- Other compatible attributes:
- Doesn't say anything about its target Java environment (preferred optimized for non-jvm)
- Doesn't say anything about org.jetbrains.kotlin.native.target (required 'linux_arm64') So, I will try to investigate ways of fixes for this issue, but I am not pretty sure it is solvable |
Looked deeper and found, that currently in native platforms there are no built-in API for the things like files. Anyway, you may an implementation of native platforms in microutils |
No description provided.
The text was updated successfully, but these errors were encountered: