Add a flag to use with the IR compiler

This commit is contained in:
Username404-59 2021-06-20 15:34:54 +02:00 committed by Username404
parent a312c81456
commit 3570e63f43
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ kotlin {
with(kotlinOptions) { with(kotlinOptions) {
freeCompilerArgs = freeCompilerArgs + listOf( freeCompilerArgs = freeCompilerArgs + listOf(
"-Xopt-in=kotlin.RequiresOptIn", "-Xopt-in=kotlin.RequiresOptIn",
"-Xopt-in=kotlin.js.ExperimentalJsExport" "-Xopt-in=kotlin.js.ExperimentalJsExport",
"-Xir-property-lazy-initialization"
) )
} }
} }