KStateMachine / kstatemachine

KStateMachine is a Kotlin DSL library for creating state machines and statecharts.
https://kstatemachine.github.io/kstatemachine/
Boost Software License 1.0
339 stars 19 forks source link

artifact in maven central has wrong content #62

Closed kgignatyev closed 1 year ago

kgignatyev commented 1 year ago

Hi, I like your library, but there is a problem, artifact in maven central has no classes only this, please fix it image

kgignatyev commented 1 year ago

hold on, looks like our cache has the content

kgignatyev commented 1 year ago

nope, disabled cache, loaded directly, same, no classes in jar jar -tf ~/.m2/repository/io/github/nsk90/kstatemachine/0.22.0/kstatemachine-0.22.0.jar META-INF/ META-INF/MANIFEST.MF META-INF/kotlin-project-structure-metadata.json

nsk90 commented 1 year ago

Hello! Nice to hear that you like it). I have switched the library to Kotlin Multiplatform just a few days ago, so there might be publishing issues.

Do you need multiplatform artifact or jvm one? I had checked jvm artifact on my sample project, just after publishing, it was ok. Please note that jvm artifact name changed starting from v0.22.0. You can find actual naming in README https://github.com/nsk90/kstatemachine#maven-central

kgignatyev commented 1 year ago

I need jvm one, ahh-yes could not find kstatemachine-jvm there initially, with new name it is working fine. But still there is that kstatemachine-0.22.0.jar with strange content.

nsk90 commented 1 year ago

kstatemachine-0.22.0.jar should be fine for kotlin multiplatform projects, it has synthetic contents, but as I understand it should just reference platform specific artifacts. Actually I have not checked this on samples yet.

kgignatyev commented 1 year ago

that I would expect, but it does not have that

Konstantin Ignatyev

On Fri, Mar 31, 2023 at 10:18 AM Mikhail Fedotov @.***> wrote:

kstatemachine-0.22.0.jar should be fine for kotlin multiplatform projects, it has synthetic contents, but as I understand it should just reference platform specific artifacts. Actually I have not checked this on samples yet.

— Reply to this email directly, view it on GitHub https://github.com/nsk90/kstatemachine/issues/62#issuecomment-1492302812, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGUDL7FRLCURLZMAY6DXODW64GX7ANCNFSM6AAAAAAWO2GY54 . You are receiving this because you modified the open/close state.Message ID: @.***>