diff --git a/build.gradle b/build.gradle index f9b4a28..9c091c5 100644 --- a/build.gradle +++ b/build.gradle @@ -83,7 +83,22 @@ setupBuilder { failOnEmptyFrom=true } -configure( [msi] ) { +task msi32( type: com.inet.gradle.setup.msi.Msi ) { + //32 bit specifics + arch = "x86" + classifier = "x86" +} + +configure( [msi, msi32] ) { + // included to reduce the build time + languages = ['en-US'] + wxsTemplate = './ant-build/resources/template.wxs' + launch4j { + mainJar = "lib/${artifactName}-${version}.jar" + mainClass = 'application.MainFx' + executable = 'dotify-studio.exe' + } + doFirst { setupBuilder { desktopStarter { @@ -107,21 +122,11 @@ configure( [deb, rpm] ) { } msi.dependsOn('unzip', 'deleteBin', 'copyIcon', 'copyPlugins') +msi32.dependsOn('unzip', 'deleteBin', 'copyIcon', 'copyPlugins') dmg.dependsOn('unzip', 'copyPlugins') deb.dependsOn('unzip', 'copyPlugins') rpm.dependsOn('unzip', 'copyPlugins') -msi { - // included to reduce the build time - languages = ['en-US'] - wxsTemplate = './ant-build/resources/template.wxs' - launch4j { - mainJar = "lib/${artifactName}-${version}.jar" - mainClass = 'application.MainFx' - executable = 'dotify-studio.exe' - } -} - deb { maintainerEmail = 'joel.hakansson@mtm.se' postinst = 'chmod +x /usr/share/dotify-studio/bin/dotify-studio' diff --git a/gradle.properties b/gradle.properties index e1f13ea..f325032 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ releaseName=Dotify Studio -version=0.3.0 \ No newline at end of file +version=0.4.0 \ No newline at end of file