https://kotlinlang.org logo
o

oshai

08/23/2020, 12:16 PM
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
l

louiscad

08/23/2020, 1:42 PM
Can you show the code where you change this property?
l

louiscad

08/23/2020, 3:16 PM
@oshai You need to do it in a
project.afterEvaluate { … }
block.
Otherwise, your value will get overwritten
o

oshai

08/23/2020, 3:18 PM
thanks! will try that
like that it doesn't seems to work:
Copy code
mavenPublication {
  project.afterEvaluate {
    artifactId = "kotlin-logging"
  }     
}
l

louiscad

08/23/2020, 3:30 PM
Try a gradlew clean before just in case.
o

oshai

08/23/2020, 3:30 PM
did that of course as well
l

louiscad

08/23/2020, 3:31 PM
Might be a bug then 🤔
o

oshai

08/23/2020, 3:41 PM
Thanks, will try to submit a bug
l

louiscad

08/23/2020, 5:42 PM
kotl.in/issue and press "y" on GitHub to get the permalink to your open source reproducer in the address bar.
o

oshai

08/23/2020, 5:57 PM
I just wonder if I should submit it like that or create a smaller repro
l

louiscad

08/23/2020, 5:59 PM
I think your repo is enough, unless you have a crazy amount or dependencies
o

oshai

08/23/2020, 6:05 PM
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