Does `org.jetbrains.kotlin.multiplatform` support ...
# multiplatform
r
Does
org.jetbrains.kotlin.multiplatform
support some way of globally passing
-Xuse-experimental=kotlin.Experimental
to compiler?
Okay, so for Native I was able to do the following:
Copy code
kotlin {
    fromPreset(presets.linuxX64, 'linux') {
        compilations.each {
            it.extraOpts.add("-Xuse-experimental=kotlin.Experimental")
        }
    }
}
As I'm focusing only on Native right now, I didn't look into others yet.
h
We don't have that yet, but it is planned: https://youtrack.jetbrains.com/issue/KT-26758
👍 1