diff --git a/build.gradle b/build.gradle index 8b3c0684b..5b5e7e471 100644 --- a/build.gradle +++ b/build.gradle @@ -375,6 +375,20 @@ tasks.register('createMacAppWithJavaDistZip', Zip) { } } +tasks.register('createMacAppIntelWithJavaDistZip', Zip) { + dependsOn createMacAppDist + archiveFileName = "IGV_MacAppIntel_${version}_WithJava.zip" + with copySpec { from jdkBundleMacIntel into "IGV_${version}.app/Contents/jdk-21" } + from("${buildDir}/IGV-MacApp-dist") + + doLast { + if (jdkBundleMacIntel == "") { + throw new GradleException("Required property not set: jdkBundleMacIntel"); + } + //project.exec { commandLine('chmod', '775', createMacAppWithJavaDistZip.archiveFileName) } + } +} + tasks.register('createWinDist', Copy) { dependsOn createDist with copySpec { diff --git a/gradle.properties b/gradle.properties index 60ad87722..4a9561b80 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,6 +15,7 @@ tsaurl=not_set # Location of JDKs to include in distribution bundles; ignored for developer builds jdkBundleLinux= jdkBundleMac= +jdkBundleMacIntel= jdkBundleWindows= # Path to NSIS packaging tool for Windows EXE installer; ignored for developer builds makensisCommand=