Skip to content

Commit 7f43798

Browse files
committed
fix(build): add java.sql module to JVM args and distributions
Include java.sql in JVM arguments and native distributions to ensure required modules are available at runtime.
1 parent 5ba2d26 commit 7f43798

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mpp-ui/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ compose.desktop {
334334
mainClass = "cc.unitmesh.devins.ui.MainKt"
335335

336336
jvmArgs += listOf(
337-
"--add-modules", "java.naming"
337+
"--add-modules", "java.naming,java.sql"
338338
)
339339

340340
nativeDistributions {
@@ -345,7 +345,7 @@ compose.desktop {
345345
copyright = "© 2024 AutoDev Team. All rights reserved."
346346
vendor = "AutoDev Team"
347347

348-
modules("java.naming")
348+
modules("java.naming", "java.sql")
349349

350350
// Custom app icon
351351
macOS {

0 commit comments

Comments
 (0)