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

hmole

01/24/2019, 11:48 AM
What's the difference between
stdlib
and
stdlib-common
?
h

h0tk3y

01/24/2019, 12:38 PM
The former is the JVM artifact of the standard library that appeared long before the MPP was ever conceived so it's called just that. The
stdlib-common
is the Kotlin metadata artifact of the standard library that should be used as a dependency for sources targeting multiple platforms. There's also
kotlin-stdlib-js
for JS, but Kotlin/Native has a built-in standard library, so no separate artifact exists for Native targets.