diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2015-12-20 19:01:26 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2015-12-20 19:01:26 +0100 |
commit | c90386a74cf61db6ac95f24743b4fb8d00f881ce (patch) | |
tree | 12467fe894c2a30a07e00ecd971db1f7fda07caf | |
parent | 30471be35c083cd37dcad2afb2acdd2a2908f864 (diff) | |
download | debian-packages-c90386a74cf61db6ac95f24743b4fb8d00f881ce.tar.gz debian-packages-c90386a74cf61db6ac95f24743b4fb8d00f881ce.zip |
grails3: unpack files
-rw-r--r-- | packages/grails3/build.gradle | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/grails3/build.gradle b/packages/grails3/build.gradle index 291a29e..60473e0 100644 --- a/packages/grails3/build.gradle +++ b/packages/grails3/build.gradle @@ -1,11 +1,17 @@ version '3.0.10' -task downloadFiles(type: buildSrc.DownloadTask) { +task download(type: buildSrc.DownloadTask) { source "https://github.com/grails/grails-core/releases/download/v${project.version}/grails-${project.version}.zip" sha256sum '5ee27a571bee73072505f2c3af52a8c12f2749113e9791cbc1c695ecb7a8ec2d' } +task unpack(type: Copy) { + from zipTree(download.destFile) + into file("${buildDir}/unpacked/dist") +} +unpack.dependsOn(download) + ospackage { into "/opt/${project.name}" - from downloadFiles.outputs.files + from unpack.outputs.files } |