diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index dc9c46be..af286b54 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,4 +17,8 @@ subprojects { tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { kotlinOptions.jvmTarget = "1.8" } + + tasks.withType<org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile> { + kotlinOptions.freeCompilerArgs = listOf("-Xuse-experimental=kotlin.Experimental") + } } |