diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/src/main/groovy/org/beryx/runtime/impl/JPackageImageTaskImpl.groovy b/src/main/groovy/org/beryx/runtime/impl/JPackageImageTaskImpl.groovy index 7b9ca4ee..cb443d92 100644 --- a/src/main/groovy/org/beryx/runtime/impl/JPackageImageTaskImpl.groovy +++ b/src/main/groovy/org/beryx/runtime/impl/JPackageImageTaskImpl.groovy @@ -56,7 +56,6 @@ class JPackageImageTaskImpl extends BaseTaskImpl { '--main-class', jpd.mainClass, '--output', outputDir, '--name', jpd.imageName, - '--identifier', jpd.identifier ?: jpd.mainClass, '--runtime-image', td.runtimeImageDir, *(jpd.jvmArgs ? jpd.jvmArgs.collect{['--java-options', adjustArg(it)]}.flatten() : []), *jpd.imageOptions] diff --git a/src/main/groovy/org/beryx/runtime/impl/JPackageTaskImpl.groovy b/src/main/groovy/org/beryx/runtime/impl/JPackageTaskImpl.groovy index 5b0322d1..a998d475 100644 --- a/src/main/groovy/org/beryx/runtime/impl/JPackageTaskImpl.groovy +++ b/src/main/groovy/org/beryx/runtime/impl/JPackageTaskImpl.groovy @@ -66,6 +66,7 @@ class JPackageTaskImpl extends BaseTaskImpl { '--package-type', packageType, '--output', td.jpackageData.getInstallerOutputDir(), '--name', jpd.installerName, + '--identifier', jpd.identifier ?: jpd.mainClass, '--app-image', "$appImagePath", *jpd.installerOptions] }