Skip to content

Commit

Permalink
for the mac app package prefix short version with "1." so that these …
Browse files Browse the repository at this point in the history
…version appear newer than the previous default "1.0"
  • Loading branch information
jeffplourde committed Feb 20, 2015
1 parent 10cc5dd commit cf7d162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interop-lab/demo-apps/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ buildscript {
}
}

def launch4jPath = 'http://downloads.sourceforge.net/projects/launch4j/launch4j-3/3.6/'
def launch4jPath = 'http://downloads.sourceforge.net/project/launch4j/launch4j-3/3.6/'
def launch4jName = ''
switch(localOsName) {
case WINDOWS:
Expand Down Expand Up @@ -89,7 +89,7 @@ task downloadAppBundler(dependsOn: createBuildToolsDir) << {

task createApp(dependsOn: [downloadAppBundler, copyDeps]) << {
ant.taskdef(name: 'bundleapp', classname: 'com.oracle.appbundler.AppBundlerTask', classpath: file("build-tools/appbundler-1.0.jar"))
ant.bundleapp(outputdirectory: "$buildDir/", name: "MDPnP Demo Apps", displayName: "MDPnP Demo Apps", identifier: "org.mdpnp.apps.testapp.Main", mainclassname: "org.mdpnp.apps.testapp.Main", icon: "$projectDir/src/main/resources/org/mdpnp/apps/testapp/icon.icns", shortversion: project.version) {
ant.bundleapp(outputdirectory: "$buildDir/", name: "MDPnP Demo Apps", displayName: "MDPnP Demo Apps", identifier: "org.mdpnp.apps.testapp.Main", mainclassname: "org.mdpnp.apps.testapp.Main", icon: "$projectDir/src/main/resources/org/mdpnp/apps/testapp/icon.icns", shortversion: '1.'+project.version) {
classpath(dir: "$buildDir/deps")
// Can optionally bundle a JRE but it adds a LOT of size
// runtime(dir: "$System.env.JAVA_HOME")
Expand Down

0 comments on commit cf7d162

Please sign in to comment.