Add missing JVM modules to packaged distribution
javax.naming.NamingException (used by logback's JNDI lookup) was not included in the bundled JVM image. Explicitly include: - java.naming (javax.naming) - java.management (JMX, used by logback) - java.instrument (used by logback) - jdk.unsupported (reflection support) - java.security.jgss (networking)
This commit is contained in:
@@ -44,6 +44,15 @@ compose.desktop {
|
||||
description = "Import photos from phones into PhotoPhile"
|
||||
vendor = "bolenpad"
|
||||
copyright = "© 2026 Kyle Bolen"
|
||||
|
||||
modules(
|
||||
"java.naming", // javax.naming — needed by logback
|
||||
"java.management", // JMX — needed by logback
|
||||
"java.instrument", // needed by logback
|
||||
"jdk.unsupported", // needed by various reflection-based libs
|
||||
"java.security.jgss", // sometimes needed by networking
|
||||
)
|
||||
|
||||
macOS {
|
||||
bundleID = "com.bolenpad.photophetch"
|
||||
// Uncomment and add icon.icns to src/main/resources/ for a custom icon:
|
||||
|
||||
Reference in New Issue
Block a user