It seems that despite <kotlin.collections.mutableS...
# multiplatform
c
It seems that despite kotlin.collections.mutableSetOf is available on all platforms, it's not possible to access it from commonMain—why is that?
k
this function is included in stdlib-common
c
Seems that my commonMain doesn't have stdlib-common in its dependencies — can I safely add it in Gradle?
Should it be
implementation
or
api
?
k
well that depends, do you know the difference? 🙂
c
Not really 😆 I'm just getting started with Gradle and Kotlin
c
Thanks!
s
almost definitely
implementation
for the stdlib
i
@spierce7 why so? Almost every Kotlin library exposes types from the standard library in its API. Though it's only important for libraries, for programs it doesn't matter, api or implementation.