GithubHelp home page GithubHelp logo

cy6ergn0m / kotlinx-uuid Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 0.0 239 KB

kotlinx-uuid is a multiplatform (MPP) Kotlin library introducing support for UUID.

License: Apache License 2.0

Kotlin 100.00%
kotlin uuid multiplatform-kotlin-library kotlinx kotlinx-uuid ktor jackson gson mpp exposed

kotlinx-uuid's People

Contributors

cy6ergn0m avatar dependabot[bot] avatar hfhbd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kotlinx-uuid's Issues

Use Published Library With Multiplatform Project

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?

Gradle Wrapper Validation Action fails

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.