Skip to content

Commit

Permalink
potential fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lbergelson committed Nov 29, 2023
1 parent f2eccbf commit ffd5069
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -224,32 +224,32 @@ tasks.distTar.enabled = false
tasks.startScripts.enabled = false

task createDistZip(type: Zip, dependsOn: createDist) {
archiveFileName = "IGV_${archiveVersion}.zip"
archiveFileName = "IGV_${version}.zip"
from("${buildDir}/IGV-dist")
into "IGV_${archiveVersion}"
}

task createLinuxDistZip(type: Zip, dependsOn: createDist) {
archiveFileName = "IGV_Linux_${archiveVersion}.zip"
archiveFileName = "IGV_Linux_${version}.zip"
from("${buildDir}/IGV-dist") {
exclude "*.bat"
exclude "*.command"
exclude 'igvtools*'
exclude 'lib/genomes'
}
into "IGV_Linux_${archiveVersion}"
into "IGV_Linux_${version}"
}

task createLinuxWithJavaDistZip(type: Zip, dependsOn: createDist) {
archiveFileName = "IGV_Linux_${archiveVersion}_WithJava.zip"
archiveFileName = "IGV_Linux_${version}_WithJava.zip"
with copySpec { from jdkBundleLinux into "jdk-17" }
from("${buildDir}/IGV-dist") {
exclude "*.bat"
exclude "*.command"
exclude 'igvtools*'
exclude 'lib/genomes'
}
into "IGV_Linux_${archiveVersion}"
into "IGV_Linux_${version}"
doLast {
if (jdkBundleLinux == "") {
throw new GradleException("Required property not set: jdkBundleLinux");
Expand All @@ -258,27 +258,27 @@ task createLinuxWithJavaDistZip(type: Zip, dependsOn: createDist) {
}

task createMacDistZip(type: Zip, dependsOn: createDist) {
archiveFileName = "IGV_Mac_${archiveVersion}.zip"
archiveFileName = "IGV_Mac_${version}.zip"
from("${buildDir}/IGV-dist") {
exclude "*.bat"
exclude "*_hidpi*"
exclude "igvtools*"
exclude 'lib/genomes'
}

into "IGV_Mac_${archiveVersion}"
into "IGV_Mac_${version}"
}

task createMacWithJavaDistZip(type: Zip, dependsOn: createDist) {
archiveFileName = "IGV_Mac_${archiveVersion}_WithJava.zip"
archiveFileName = "IGV_Mac_${version}_WithJava.zip"
with copySpec { from jdkBundleMac into "jdk-17" }
from("${buildDir}/IGV-dist") {
exclude "*.bat"
exclude "*_hidpi*"
exclude "igvtools*"
exclude 'lib/genomes'
}
into "IGV_Mac_${archiveVersion}"
into "IGV_Mac_${version}"
doLast {
if (jdkBundleMac == "") {
throw new GradleException("Required property not set: jdkBundleMac");
Expand Down Expand Up @@ -324,7 +324,7 @@ task createMacAppDistZip(type: Zip, dependsOn: createMacAppDist) {
from("${buildDir}/IGV-MacApp-dist")

doLast {
project.exec { commandLine('chmod', '775', createMacAppDistZip.archiveFile) }
project.exec { commandLine('chmod', '775', createMacAppDistZip.archiveFileName) }
}
}

Expand All @@ -337,7 +337,7 @@ task createMacAppWithJavaDistZip(type: Zip, dependsOn: createMacAppDist) {
if (jdkBundleMac == "") {
throw new GradleException("Required property not set: jdkBundleMac");
}
project.exec { commandLine('chmod', '775', createMacAppWithJavaDistZip.archiveFile) }
project.exec { commandLine('chmod', '775', createMacAppWithJavaDistZip.archiveFileName) }
}
}

Expand Down

0 comments on commit ffd5069

Please sign in to comment.