https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
g

gumil

03/11/2019, 9:58 AM
Is using
kotlin-platform-common
already deprecated? should we just use the `multiplatform`plugin? I can’t find documentation on
kotlin-platform-common
how would you also differentiate the platforms when adding the project as a dependency?
r

r4zzz4k

03/11/2019, 11:46 AM
With regards to your latest question, this is done via Gradle metadata. Every platform-specific artifact within
kotlin-multiplatform
has the field
kind
(IIRC) representing it.
a

Alexey Belkov [JB]

03/12/2019, 9:31 AM
Yes,
kotlin-platform-common
is basically deprecated. Please use the new MPP plugin.
g

gumil

03/12/2019, 9:54 AM
Is there a release note specifying the change? A lot of resources online still referes to the old plugin
12 Views