cy6ergn0m / kotlinx-uuid Goto Github PK
View Code? Open in Web Editor NEWkotlinx-uuid is a multiplatform (MPP) Kotlin library introducing support for UUID.
License: Apache License 2.0
kotlinx-uuid is a multiplatform (MPP) Kotlin library introducing support for UUID.
License: Apache License 2.0
Hey,
I created a simple Multiplatform project, using this UUID library in commonMain
// gradle.build.kts
sourceSets {
commonMain {
dependencies {
implementation("org.jetbrains.kotlinx.experimental:kotlinx-uuid-core:0.0.1")
}
}
Branch: https://github.com/hfhbd/ComposeTodo/tree/simple
Commit: hfhbd/ComposeTodo@e4c5395 and the CI
However, in each target, only this UUID library is not found by Gradle. You still need to include the explicit library for each source set.
sourceSets {
commonMain {
dependencies {
implementation("org.jetbrains.kotlinx.experimental:kotlinx-uuid-core:0.0.1")
}
}
val jsMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx.experimental:kotlinx-uuid-core-js:0.0.1")
}
}
val iosMain by getting {
dependencies {
}
}
val iosArm64Main by getting {
dependencies {
implementation("org.jetbrains.kotlinx.experimental:kotlinx-uuid-core-iosarm64:0.0.1")
}
}
val iosX64Main by getting {
dependencies {
implementation("org.jetbrains.kotlinx.experimental:kotlinx-uuid-core-iosx64:0.0.1")
}
}
val jvmMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx.experimental:kotlinx-uuid-core-jvm:0.0.1")
}
}
}
Workaround: hfhbd/ComposeTodo@e40928e and the CI
@cy6erGn0m Do you know why this problem exists? Is something of the published library still missing?
Currently, kotlinx-uuid
is released on Bintray, which will be closed on May 01.
Hey,
After adding the GitHub Action to validate the Gradle Wrapper (#4), it is still not running, because only contributors are allow to create or modify GitHub Actions.
Sorry, I did not know this.
I guess, deleting and recommitting the workflow file should be enough.
Is it possible to publish non-IR and IR JVM artifacts?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.