Browse Source

fix archive issues

terminal
Craig Raw 4 years ago
parent
commit
8b3ed8171b
  1. 13
      build.gradle

13
build.gradle

@ -182,15 +182,24 @@ jlink {
}
}
task removeGroupWritePermission(type: Exec) {
commandLine 'chmod', '-R', 'g-w', "$buildDir/jpackage/Sparrow"
}
task packageZipDistribution(type: Zip) {
archiveFileName = "Sparrow-${sparrowVersion}.zip"
destinationDirectory = file("$buildDir/jpackage")
from "$buildDir/jpackage/Sparrow"
from("$buildDir/jpackage/") {
include "Sparrow/**"
}
}
task packageTarDistribution(type: Tar) {
dependsOn removeGroupWritePermission
archiveFileName = "sparrow-${sparrowVersion}.tar.gz"
destinationDirectory = file("$buildDir/jpackage")
compression = Compression.GZIP
from "$buildDir/jpackage/Sparrow"
from("$buildDir/jpackage/") {
include "Sparrow/**"
}
}

Loading…
Cancel
Save