I've been told on <discuss.kotlinlang.org forum> t...
# multiplatform
c
I've been told on discuss.kotlinlang.org forum that it's now possible to publish multiplaform specitic artifacts on maven without the platform suffixes (i.e.
-jvm
,
-js
,
-linuxx64
, ...), by means of the proper grade metadata. How to do that? How are the artifacts distinguished from one another in central repository? Is there an example somewhere?
c
It’s rather the “consuming” part that does not need the prefix. so in Gradle you add the dependency as “groupartifactversion” and depending on the platform used it will load the “groupartifact platformversion” dependency.
c
Oh, I see. And there shouldn't be any required action on the consumer part if its environment is recent enough, is that it?
c
yes.
gratitude thank you 1
c
if its environment is recent enough, is that it?
Note that it's been like that for at least 3 or 4 years now, so "recent" shouldn't be too much of an issue