Switch to GZIP compression, BZIP2 still looking unpopular
This commit is contained in:
parent
cf5405478f
commit
bae8079268
2 changed files with 6 additions and 6 deletions
|
@ -300,13 +300,13 @@ tasks.register('distZip', Zip) {
|
|||
}
|
||||
|
||||
tasks.register('distTar', Tar) {
|
||||
description 'Creates the Antville download package as Bzip2 file.'
|
||||
description 'Creates the Antville download package as compressed archive file.'
|
||||
group 'distribution'
|
||||
dependsOn 'assemble'
|
||||
|
||||
def version = project.distVersion()
|
||||
def outputDir = "${project.buildDir}/distributions"
|
||||
def outputFile = "antville-${version}.tbz"
|
||||
def outputFile = "antville-${version}.tgz"
|
||||
|
||||
inputs.dir antvilleInstallDir
|
||||
outputs.file "$outputDir/$outputFile"
|
||||
|
@ -315,7 +315,7 @@ tasks.register('distTar', Tar) {
|
|||
into "antville-${version}"
|
||||
}
|
||||
|
||||
compression = Compression.BZIP2
|
||||
compression = Compression.GZIP
|
||||
destinationDirectory = file(outputDir)
|
||||
archiveFileName = outputFile
|
||||
}
|
||||
|
|
|
@ -204,13 +204,13 @@ tasks.register('distZip', Zip) {
|
|||
}
|
||||
|
||||
tasks.register('distTar', Tar) {
|
||||
description 'Creates the AntClick download package as Bzip2 file.'
|
||||
description 'Creates the AntClick download package as compressed archive file.'
|
||||
group 'distribution'
|
||||
dependsOn 'assemble'
|
||||
|
||||
def version = project.distVersion()
|
||||
def outputDir = "${rootProject.buildDir}/distributions"
|
||||
def outputFile = "antclick-${version}.tbz"
|
||||
def outputFile = "antclick-${version}.tgz"
|
||||
|
||||
inputs.dir helmaInstallDir
|
||||
outputs.file "$outputDir/$outputFile"
|
||||
|
@ -219,7 +219,7 @@ tasks.register('distTar', Tar) {
|
|||
into "antclick-${version}"
|
||||
}
|
||||
|
||||
compression = Compression.BZIP2
|
||||
compression = Compression.GZIP
|
||||
destinationDirectory = file(outputDir)
|
||||
archiveFileName = outputFile
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue