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

r4zzz4k

09/14/2018, 12:56 PM
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

h0tk3y

09/16/2018, 5:25 PM
We don't have that yet, but it is planned: https://youtrack.jetbrains.com/issue/KT-26758
👍 1