Giter Club home page Giter Club logo

Comments (23)

oshai avatar oshai commented on September 2, 2024 2

changes for this issue are on the multiplatform branch: https://github.com/MicroUtils/kotlin-logging/tree/multiplatform

from kotlin-logging.

anidotnet avatar anidotnet commented on September 2, 2024 2

@oshai I still could not see the new version 1.5.6 in central maven repo.
EDIT: I can see it now and it compiles without any issues. Thanks 👍

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024 1

All work was merged to master. There is no js artifact yet but repo is ready for that.

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024 1

No, currently this issue is only related to jvm/js. But it is true that in the future we should have native flavour as well.

from kotlin-logging.

Lewik avatar Lewik commented on September 2, 2024 1

@joelhandwell if it not difficult, I'll try to implement it in https://github.com/Lewik/klogging I'll notify you about it.

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024 1

I also published common and js artifacts to bintray/jcenter. feedback is welcome.

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024 1

I published version 1.5.9 to maven central which I hope will solve the issue with missing artifacts. There is still a broken build in Travis that I am handling because of js tests issue. If you see any other errors please open a new issue.

from kotlin-logging.

LDVSOFT avatar LDVSOFT commented on September 2, 2024

I would really like this awesome library supporting multiplatform code. There is already attempt using mu.kotlin-logging here: https://github.com/shafirov/klogging, but it does not provide API to be used in multiplatform code.

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024

Do you have an idea or link how to do that? I am not sure what is the level of support in kotlin for such libs.

from kotlin-logging.

LDVSOFT avatar LDVSOFT commented on September 2, 2024

I referenced only ideas. There is a discussion on supporting the multi-platform projects.

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024

Thanks for the links, seems like not that stable at the moment... So I am still waiting for JB to announce of something official.

from kotlin-logging.

LDVSOFT avatar LDVSOFT commented on September 2, 2024

Yeah, official support would be really nice. Thank you for all your effort!

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024

It will be possible in 1.2: http://kotlinlang.org/docs/reference/multiplatform.html

from kotlin-logging.

Lewik avatar Lewik commented on September 2, 2024

https://github.com/Lewik/klogging can jvm, js and common logging.

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024

release 1.5.3 is from multiplatform branch, currently only jvm version but you are welcome to try.

from kotlin-logging.

joelhandwell avatar joelhandwell commented on September 2, 2024

@oshai Is this also applicable for Kotlin/Native multi platform projects?

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024

@LDVSOFT @Lewik - if you can test common + js from here: https://github.com/MicroUtils/kotlin-logging/releases/tag/1.5.5 it will be great. Also, any comments on the implementation are welcome.

from kotlin-logging.

anidotnet avatar anidotnet commented on September 2, 2024

Currently maven/gradle build is failing for kotlin/jvm project as it is not able to find the common module.

 > Could not find io.github.microutils:kotlin-logging-common:1.5.5.
     Searched in the following locations:
         file:/home/anindya/.m2/repository/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.pom
         file:/home/anindya/.m2/repository/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.jar
         https://repo.maven.apache.org/maven2/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.pom
         https://repo.maven.apache.org/maven2/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.jar
         https://oss.sonatype.org/content/repositories/snapshots/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.pom
         https://oss.sonatype.org/content/repositories/snapshots/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.jar

Do you have any plan to publish the common artifact to central maven repo? For the time being I have added jcenter() to the build repository of my gradle script.

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024

I was hoping I will not have to, it will break usage for existing users trying to upgrade.
I will try to define source-sets to overcome this issue.

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024

@anidotnet - thanks for reporting. seems something was changed between Kotlin versions 1.2.30->1.2.40 in pom generation. I will try to ask around.
In the meanwhile, I created version 1.5.6 that should be ok. It will be great if you can verify that.

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024

opened an issue for it: https://youtrack.jetbrains.com/issue/KT-25799

from kotlin-logging.

oshai avatar oshai commented on September 2, 2024

Please vote for this issue, as it prevents us from upgrading kotlin version: https://youtrack.jetbrains.com/issue/KT-25799

from kotlin-logging.

Related Issues (20)

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.