diff --git a/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy b/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy index 5efa89eb..6725daa3 100644 --- a/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy +++ b/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy @@ -83,6 +83,7 @@ class JPackageImageTaskImpl extends BaseTaskImpl { final def resourceOpts = (resourceDir == null) ? [] : [ '--resource-dir', resourceDir ] commandLine = [jpackageExec, + '--package-type', 'app-image', '--dest', outputDir, '--name', jpd.imageName, '--module-path', td.jlinkJarsDir,