Skip to content

Commit c32e223

Browse files
authored
Opt-in kotlin.js.ExperimentalWasmJsInterop globally (#2524)
## Release Notes N/A
1 parent 9093b21 commit c32e223

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildSrc/private/src/main/kotlin/androidx/build/AndroidXComposeImplPlugin.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ class AndroidXComposeImplPlugin : Plugin<Project> {
120120
project.tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile>().configureEach {
121121
it.compilerOptions.freeCompilerArgs.addAll(
122122
"-opt-in=kotlinx.cinterop.ExperimentalForeignApi",
123-
"-opt-in=kotlin.experimental.ExperimentalNativeApi"
123+
"-opt-in=kotlin.experimental.ExperimentalNativeApi",
124+
"-opt-in=kotlin.js.ExperimentalWasmJsInterop",
124125
)
125126
}
126127
}

0 commit comments

Comments
 (0)