From 3570e63f434aac954daec988dd6e0717e473b02d Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Sun, 20 Jun 2021 15:34:54 +0200 Subject: [PATCH] Add a flag to use with the IR compiler --- build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index d8a61ce..f851c9f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,7 +27,8 @@ kotlin { with(kotlinOptions) { freeCompilerArgs = freeCompilerArgs + listOf( "-Xopt-in=kotlin.RequiresOptIn", - "-Xopt-in=kotlin.js.ExperimentalJsExport" + "-Xopt-in=kotlin.js.ExperimentalJsExport", + "-Xir-property-lazy-initialization" ) } }