Enable some experimental features of kotlin
This commit is contained in:
parent
e0bdb8513e
commit
a312c81456
|
@ -18,11 +18,16 @@ kotlin {
|
|||
js(IR) {
|
||||
moduleName = "Username404_Website"
|
||||
compilations.all {
|
||||
with(languageSettings) {
|
||||
println(coreLibrariesVersion)
|
||||
apiVersion = coreLibrariesVersion.substring(0..2)
|
||||
languageVersion = (apiVersion!!.toDouble() + 0.1).toString()
|
||||
progressiveMode = true
|
||||
}
|
||||
with(kotlinOptions) {
|
||||
freeCompilerArgs = freeCompilerArgs + listOf(
|
||||
"-Xopt-in=kotlin.RequiresOptIn",
|
||||
"-Xopt-in=kotlin.js.ExperimentalJsExport",
|
||||
"-progressive"
|
||||
"-Xopt-in=kotlin.js.ExperimentalJsExport"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue