Thread
#multiplatform
    oshai

    oshai

    2 years ago
    Hi, does anybody know of an issue with KMP 1.4 support for
    artifactId
    ? It looks like it ignores that directive in the jar name
    louiscad

    louiscad

    2 years ago
    Can you show the code where you change this property?
    louiscad

    louiscad

    2 years ago
    @oshai You need to do it in a
    project.afterEvaluate { … }
    block.
    Otherwise, your value will get overwritten
    oshai

    oshai

    2 years ago
    thanks! will try that
    like that it doesn't seems to work:
    mavenPublication {
      project.afterEvaluate {
        artifactId = "kotlin-logging"
      }     
    }
    louiscad

    louiscad

    2 years ago
    Try a gradlew clean before just in case.
    oshai

    oshai

    2 years ago
    did that of course as well
    louiscad

    louiscad

    2 years ago
    Might be a bug then 🤔
    oshai

    oshai

    2 years ago
    Thanks, will try to submit a bug
    louiscad

    louiscad

    2 years ago
    kotl.in/issue and press "y" on GitHub to get the permalink to your open source reproducer in the address bar.
    oshai

    oshai

    2 years ago
    I just wonder if I should submit it like that or create a smaller repro
    louiscad

    louiscad

    2 years ago
    I think your repo is enough, unless you have a crazy amount or dependencies
    oshai

    oshai

    2 years ago
    no I don't. will submit that
    after checking previous version it seems that the problem is different - in the old version the jar name is also with jvm, it's changed only on upload.
    It seems I have a different problem, still investigating it
    I think the issue right now is related to dokka. the old version do not work and when trying to upgrade to 1.4.0-rc there are also problems
    After some more investigation, I think the issue is not related to dokka, so opened a bug: https://youtrack.jetbrains.com/issue/KT-41483