Why? Did I do something wrong?
# kotlin-native
x
Why? Did I do something wrong?
g
Is it IDE issue or you also have build error?
x
Is platform.* not a multiplatform plugin's build-in package?
Need I add something to dependency?
m
platform.*
is not available in common source set.
x
how to enable it?
n
you can use this
platform
import only in a specific platform package
m
AFAIK there is ongoing work to "commonize" common part of it, but when it will be available - I don't know, maybe in 1.3.60, maybe in 1.4.0.
g
how to enable it?
You cannot, just because those APIs are not available for JS or JVM and never will be available, so they cannot be used from common code, only in K/N module
x
ok,got it