Skip to content

Commit

Permalink
issue #51: Duplicate data in packages produced by jpackage
Browse files Browse the repository at this point in the history
  • Loading branch information
siordache committed Jul 26, 2020
1 parent 40ac38d commit f73bd84
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/main/groovy/org/beryx/jlink/JPackageImageTask.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ class JPackageImageTask extends BaseTask {
taskData.moduleName = moduleName
taskData.jpackageData = jpackageData
taskData.mainClass = mainClass ?: defaultMainClass
taskData.jlinkJarsDir = jlinkJarsDir.asFile

def jlinkTask = (JlinkTask) project.tasks.getByName(JlinkPlugin.TASK_NAME_JLINK)
taskData.configureRuntimeImageDir(jlinkTask)
Expand Down
1 change: 0 additions & 1 deletion src/main/groovy/org/beryx/jlink/JPackageTask.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ class JPackageTask extends BaseTask {
taskData.moduleName = moduleName
taskData.jpackageData = jpackageData
taskData.mainClass = mainClass ?: defaultMainClass
taskData.jlinkJarsDir = jlinkJarsDir.asFile

def jlinkTask = (JlinkTask) project.tasks.getByName(JlinkPlugin.TASK_NAME_JLINK)
taskData.configureRuntimeImageDir(jlinkTask)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class JPackageTaskData extends BaseTaskData {

String moduleName
String mainClass
File jlinkJarsDir
File imageDir
File runtimeImageDir
JPackageData jpackageData
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ class JPackageImageTaskImpl extends BaseTaskImpl<JPackageTaskData> {
'--type', 'app-image',
'--dest', outputDir,
'--name', jpd.imageName,
'--module-path', td.jlinkJarsDir,
'--module', "$td.moduleName/$td.mainClass",
*versionOpts,
'--runtime-image', td.runtimeImageDir,
Expand Down

0 comments on commit f73bd84

Please sign in to comment.