Skip to content

Commit

Permalink
build: organize distribution archives
Browse files Browse the repository at this point in the history
  • Loading branch information
akirakw committed Dec 20, 2023
1 parent 6dea7ad commit 16c1229
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion modules/tgdump/cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ application {
}

shadowJar {
archiveBaseName = 'dump-tool'
archiveBaseName = 'tgdump'
archiveClassifier = 'all'
mergeServiceFiles()
}
Expand All @@ -43,6 +43,12 @@ distZip {
archiveFileName = "tgdump.zip"
}

distTar {
archiveFileName = "tgdump.tar.gz"
archiveExtension = 'tar.gz'
compression = Compression.GZIP
}

test {
systemProperty 'org.slf4j.simpleLogger.defaultLogLevel', findProperty('test.logLevel') ?: 'debug'
}
8 changes: 7 additions & 1 deletion modules/tgsql/cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,17 @@ run {
}

shadowJar {
archiveBaseName = 'sql-console'
archiveBaseName = 'tgsql'
archiveClassifier = 'all'
mergeServiceFiles()
}

distZip {
archiveFileName = "tgsql.zip"
}

distTar {
archiveFileName = "tgsql.tar.gz"
archiveExtension = 'tar.gz'
compression = Compression.GZIP
}

0 comments on commit 16c1229

Please sign in to comment.