Produce .tgz on './gradlew bundle'.

This commit is contained in:
Alexander Gorshenev
2017-03-21 18:29:01 +03:00
committed by alexander-gorshenev
parent dc5edfeda3
commit 1942b0eb04
+10
View File
@@ -218,6 +218,16 @@ task cross_dist {
dependsOn 'cross_dist_runtime', 'dist_compiler'
}
task bundle(type: Tar) {
dependsOn('cross_dist')
from(project.rootDir)
include 'dist/**'
baseName = 'kotlin-native-compiler'
destinationDir = file('.')
extension = 'tgz'
compression = Compression.GZIP
}
task demo(type: Exec) {
dependsOn 'dist'