Skip to content

Commit 8ca1c60

Browse files
committed
Add JVM argument to enable native access in Compose Desktop configuration
1 parent 253c8db commit 8ca1c60

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

demo/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ kotlin {
3838
compose.desktop {
3939
application {
4040
mainClass = "io.github.kdroidfilter.composewebview.MainKt"
41+
jvmArgs += "--enable-native-access=ALL-UNNAMED"
4142

4243
nativeDistributions {
4344
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)

0 commit comments

Comments
 (0)