mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 09:32:04 +00:00
29 lines
415 B
Groovy
29 lines
415 B
Groovy
apply plugin: 'java'
|
|
apply from: './play.gradle'
|
|
|
|
model {
|
|
// Must specify the dependency here as "stage" is added by rule based model.
|
|
tasks.myTar {
|
|
dependsOn stage
|
|
}
|
|
}
|
|
|
|
task myTar(type: Tar) {
|
|
extension = "tgz"
|
|
compression = Compression.GZIP
|
|
|
|
from("${buildDir}/stage")
|
|
|
|
into("bin") {
|
|
from("bin")
|
|
}
|
|
|
|
into("conf") {
|
|
from("conf")
|
|
fileMode = 0600
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
archives myTar
|
|
} |