diff --git a/build.gradle b/build.gradle index 5f702c85..0b1f5967 100644 --- a/build.gradle +++ b/build.gradle @@ -154,9 +154,12 @@ jlink { requires 'io.leangen.geantyref' uses 'org.flywaydb.core.extensibility.FlywayExtension' uses 'org.flywaydb.core.internal.database.DatabaseType' + uses 'org.eclipse.jetty.http.HttpFieldPreEncoder' + uses 'org.eclipse.jetty.websocket.api.extensions.Extension' + uses 'org.eclipse.jetty.websocket.common.RemoteEndpointFactory' } - options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages', '--ignore-signing-information', '--exclude-files', '**.png'] + options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages', '--ignore-signing-information', '--exclude-files', '**.png', '--exclude-resources', 'glob:/com.sparrowwallet.merged.module/META-INF/*'] launcher { name = 'sparrow' jvmArgs = ["--add-opens=javafx.graphics/com.sun.javafx.css=org.controlsfx.controls", @@ -179,7 +182,10 @@ jlink { "--add-reads=com.sparrowwallet.merged.module=java.desktop", "--add-reads=com.sparrowwallet.merged.module=java.sql", "--add-reads=com.sparrowwallet.merged.module=com.sparrowwallet.sparrow", - "--add-reads=com.sparrowwallet.merged.module=logback.classic"] + "--add-reads=com.sparrowwallet.merged.module=logback.classic", + "--add-reads=com.sparrowwallet.merged.module=com.fasterxml.jackson.databind", + "--add-reads=com.sparrowwallet.merged.module=com.fasterxml.jackson.annotation", + "--add-reads=com.sparrowwallet.merged.module=com.fasterxml.jackson.core"] if(os.macOsX) { jvmArgs += "--add-opens=javafx.graphics/com.sun.glass.ui.mac=com.sparrowwallet.merged.module"