Skip to content

Commit

Permalink
Merge pull request #91 from tobiasdiez/patch-1
Browse files Browse the repository at this point in the history
Rename output to dest for jpackage task
Remove identifier argument for jpackage task
  • Loading branch information
DJViking authored Oct 2, 2019
2 parents a125c7d + 63f639b commit ba2cb46
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/main/groovy/org/beryx/jlink/data/JPackageData.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ class JPackageData {

String installerName

@Input @Optional
String identifier

@Input @Optional
String appVersion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class JPackageImageTaskImpl extends BaseTaskImpl<JPackageTaskData> {
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",
Expand Down
3 changes: 1 addition & 2 deletions src/main/groovy/org/beryx/jlink/impl/JPackageTaskImpl.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ class JPackageTaskImpl extends BaseTaskImpl<JPackageTaskData> {

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,
Expand Down

0 comments on commit ba2cb46

Please sign in to comment.