CORPRIV-658: Add gradle parameter "packageType" for javapackage task.

This commit is contained in:
Chris Rankin 2017-02-10 09:45:33 +00:00
parent d6514f7524
commit 2aeac0df91

View File

@ -146,7 +146,7 @@ task javapackage(dependsOn: 'distZip') {
classpath: "$pkg_source:$java_home/../lib/ant-javafx.jar"
)
ant.deploy(nativeBundles: 'rpm', outdir: "$buildDir/exedir", outfile: 'DemoBench', verbose: 'true') {
ant.deploy(nativeBundles: "$packageType", outdir: "$buildDir/exedir", outfile: 'DemoBench', verbose: 'true') {
application(name: 'DemoBench', version: "$pkg_version", mainClass: "$mainClassName")
resources {
fileset(dir: "$dist_source/lib", type: 'jar') {