Dist fixes

This commit is contained in:
crschnick 2024-05-26 20:33:30 +00:00
parent 4d9e47b821
commit 73524d471f
2 changed files with 9 additions and 2 deletions

View file

@ -126,9 +126,11 @@ project.ext {
// Disable this for now as it requires Windows 10+
// '-XX:+UseZGC',
"-Dvisualvm.display.name=XPipe",
"-Dapple.awt.application.appearance=system",
"-Djavafx.preloader=io.xpipe.app.core.AppPreloader"
]
if (org.gradle.internal.os.OperatingSystem.current().isMacOsX()) {
jvmRunArgs += ["-Dapple.awt.application.appearance=system"]
}
useBundledJavaFx = fullVersion
useBundledJna = fullVersion
announce = System.getenv('SKIP_ANNOUNCEMENT') == null || !Boolean.parseBoolean(System.getenv('SKIP_ANNOUNCEMENT'))

View file

@ -53,9 +53,14 @@ jlink {
// '--strip-debug',
'--no-header-files',
'--no-man-pages',
// '--strip-native-commands'
'--include-locales', "${String.join(",", languages)}",
'--compress', 'zip-9'
]
if (org.gradle.internal.os.OperatingSystem.current().isLinux()) {
options += ['--strip-native-debug-symbols']
}
if (useBundledJavaFx) {
addExtraModulePath(layout.projectDirectory.dir("javafx/${platformName}/${arch}").toString())
}