|
|
@ -142,7 +142,7 @@ run { |
|
|
|
"--add-opens=java.base/java.io=com.google.gson"] |
|
|
|
|
|
|
|
if(os.macOsX) { |
|
|
|
applicationDefaultJvmArgs += ["-Xdock:name=Sparrow", "-Xdock:icon=/Users/scy/git/sparrow/src/main/resources/sparrow-large.png", |
|
|
|
applicationDefaultJvmArgs += ["-Dprism.lcdtext=false", "-Xdock:name=Sparrow", "-Xdock:icon=/Users/scy/git/sparrow/src/main/resources/sparrow-large.png", |
|
|
|
"--add-opens=javafx.graphics/com.sun.glass.ui.mac=centerdevice.nsmenufx"] |
|
|
|
} |
|
|
|
} |
|
|
@ -194,7 +194,7 @@ jlink { |
|
|
|
"--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" |
|
|
|
jvmArgs += ["-Dprism.lcdtext=false", "--add-opens=javafx.graphics/com.sun.glass.ui.mac=com.sparrowwallet.merged.module"] |
|
|
|
} |
|
|
|
} |
|
|
|
addExtraDependencies("javafx") |
|
|
|