Hello, in an MP project for the iOS target we do not need to depend on a kotlin stdlib like we do for all the other sourcesets, what’s the reason for this?
r
ribesg
03/18/2019, 10:44 AM
There’s no specific native stdlib (yet?). The iOS sourceSet depends on the common sourceSet, which should depend on
stdlib-common
which contains all the mpp stdlibs.
ribesg
03/18/2019, 10:45 AM
stdlib-common
contains the pure Kotlin stdlibs,
stdlib
depends on
stdlib-common
and contains the JVM wrappers/extensions/etc for JVM stdlibs
r
r4zzz4k
03/18/2019, 10:47 AM
Native stdlib exists and we're using it in native targets, it's just added as a dependency implicitly and unconditionally.