diff --git a/src/main/groovy/org/beryx/jlink/data/JPackageData.groovy b/src/main/groovy/org/beryx/jlink/data/JPackageData.groovy index d7d64327..0a7bcf80 100644 --- a/src/main/groovy/org/beryx/jlink/data/JPackageData.groovy +++ b/src/main/groovy/org/beryx/jlink/data/JPackageData.groovy @@ -60,9 +60,6 @@ class JPackageData { String installerName - @Input @Optional - String identifier - @Input @Optional String appVersion diff --git a/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy b/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy index ccc4bd89..5efa89eb 100644 --- a/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy +++ b/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy @@ -83,7 +83,7 @@ class JPackageImageTaskImpl extends BaseTaskImpl { final def resourceOpts = (resourceDir == null) ? [] : [ '--resource-dir', resourceDir ] commandLine = [jpackageExec, - '--output', outputDir, + '--dest', outputDir, '--name', jpd.imageName, '--module-path', td.jlinkJarsDir, '--module', "$td.moduleName/$td.mainClass", diff --git a/src/main/groovy/org/beryx/jlink/impl/JPackageTaskImpl.groovy b/src/main/groovy/org/beryx/jlink/impl/JPackageTaskImpl.groovy index da45d4fa..028a304a 100644 --- a/src/main/groovy/org/beryx/jlink/impl/JPackageTaskImpl.groovy +++ b/src/main/groovy/org/beryx/jlink/impl/JPackageTaskImpl.groovy @@ -80,9 +80,8 @@ class JPackageTaskImpl extends BaseTaskImpl { commandLine = [jpackageExec, '--package-type', packageType, - '--output', td.jpackageData.getInstallerOutputDir(), + '--dest', td.jpackageData.getInstallerOutputDir(), '--name', jpd.installerName, - '--identifier', jpd.identifier ?: td.mainClass, *versionOpts, '--app-image', "$appImagePath", *resourceOpts,