@@ -68,6 +68,7 @@ public class AppBundlerTask extends Task {
6868 private File icon = null ;
6969
7070 private String shortVersion = "1.0" ;
71+ private String version = "1" ;
7172 private String signature = "????" ;
7273 private String copyright = "" ;
7374
@@ -120,6 +121,10 @@ public void setShortVersion(String shortVersion) {
120121 this .shortVersion = shortVersion ;
121122 }
122123
124+ public void setVersion (String version ) {
125+ this .version = version ;
126+ }
127+
123128 public void setSignature (String signature ) {
124129 this .signature = signature ;
125130 }
@@ -465,7 +470,7 @@ private void writeInfoPlist(File file) throws IOException {
465470 writeProperty (xout , "CFBundlePackageType" , OS_TYPE_CODE );
466471 writeProperty (xout , "CFBundleShortVersionString" , shortVersion );
467472 writeProperty (xout , "CFBundleSignature" , signature );
468- writeProperty (xout , "CFBundleVersion" , "1" );
473+ writeProperty (xout , "CFBundleVersion" , version );
469474 writeProperty (xout , "NSHumanReadableCopyright" , copyright );
470475
471476 if (applicationCategory != null ) {
0 commit comments