mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
simplify jlink command-line (not all options are present on Windows)
This commit is contained in:
parent
5ca45d811d
commit
eee5630e2a
@ -308,7 +308,7 @@ task 'win-installer'(dependsOn: ['win32', 'win64']) {
|
||||
def jrePath = "AppFiles/jre"
|
||||
if (!new File(installerDir, jrePath).exists()) {
|
||||
ant.exec(dir: installerDir, executable: "jlink", failOnError: true) {
|
||||
("--output $jrePath --vm=client --compress=2 --no-header-files --no-man-pages --strip-debug --strip-java-debug-attributes --strip-native-debug-symbols exclude-debuginfo-files --dedup-legal-notices error-if-not-same-content " +
|
||||
("--output $jrePath --vm=client --compress=2 --no-header-files --no-man-pages --strip-debug " +
|
||||
"--add-modules java.base,java.desktop,java.prefs,java.logging")
|
||||
.split(" ").each { ant.arg(value: it) }
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user