summaryrefslogtreecommitdiff
path: root/packages/grails3/build.gradle
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2015-12-20 18:47:45 +0100
committerYves Fischer <yvesf-git@xapek.org>2015-12-20 18:47:45 +0100
commit570c0a93fb24a393a2bf013a5aad5b6759713ce7 (patch)
tree430499b41b4defac779fa3f3967bf0fa7af9f418 /packages/grails3/build.gradle
downloaddebian-packages-570c0a93fb24a393a2bf013a5aad5b6759713ce7.tar.gz
debian-packages-570c0a93fb24a393a2bf013a5aad5b6759713ce7.zip
start migrating from shell scripts
Diffstat (limited to 'packages/grails3/build.gradle')
-rw-r--r--packages/grails3/build.gradle11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/grails3/build.gradle b/packages/grails3/build.gradle
new file mode 100644
index 0000000..2e4e041
--- /dev/null
+++ b/packages/grails3/build.gradle
@@ -0,0 +1,11 @@
+version '3.0.10'
+
+task downloadFiles(type: buildSrc.DownloadTask) {
+ source "https://github.com/grails/grails-core/releases/download/v${project.version}/grails-${project.version}.zip"
+ sha256sum '31b0627cfabca76cc38a4f32f5e7e1cc31979ec9e9eaf45243514d1306e96ccd'
+}
+
+ospackage {
+ into "/opt/${project.name}"
+ from downloadFiles.outputs.files
+}