diff options
author | Yves Fischer <yves.fischer@cern.ch> | 2016-03-01 14:19:46 +0100 |
---|---|---|
committer | Yves Fischer <yves.fischer@cern.ch> | 2016-03-01 14:19:46 +0100 |
commit | f9de276a9ae9e7767a7227be8f2b21788856524c (patch) | |
tree | 95ea2fd7576c1d591016276867bd2ea3a52aba38 /packages | |
parent | 7b9a197cd1197ab1df930a05dcf19f82ff080f4a (diff) | |
download | debian-packages-f9de276a9ae9e7767a7227be8f2b21788856524c.tar.gz debian-packages-f9de276a9ae9e7767a7227be8f2b21788856524c.zip |
add groovy-2.4.5
Diffstat (limited to 'packages')
-rw-r--r-- | packages/groovy-bin/build.gradle | 23 | ||||
-rw-r--r-- | packages/groovy-bin/groovy-bin-2.4.5/build.gradle | 2 |
2 files changed, 25 insertions, 0 deletions
diff --git a/packages/groovy-bin/build.gradle b/packages/groovy-bin/build.gradle new file mode 100644 index 0000000..497bafa --- /dev/null +++ b/packages/groovy-bin/build.gradle @@ -0,0 +1,23 @@ +import org.xapek.yvesf.gradle.DownloadTask + +subprojects { + task download(type: DownloadTask) {} + + task unzip(type: Copy) { + into file("${buildDir}/unpacked/dist") + eachFile { FileCopyDetails fcd -> + fcd.path = fcd.path.substring(path.indexOf('/')+1) + } + } + unzip.dependsOn(download) + + ospackage { + into "/opt/${project.name}" + from unzip.outputs.files + } + + project.afterEvaluate { + download.source "http://dl.bintray.com/groovy/maven/apache-groovy-binary-${project.version}.zip" + unzip.from zipTree(download.destFile) + } +} diff --git a/packages/groovy-bin/groovy-bin-2.4.5/build.gradle b/packages/groovy-bin/groovy-bin-2.4.5/build.gradle new file mode 100644 index 0000000..866f8b0 --- /dev/null +++ b/packages/groovy-bin/groovy-bin-2.4.5/build.gradle @@ -0,0 +1,2 @@ +version '2.4.5' +download.sha256sum '87e8e9af1f718b84c9bca5a8c42425aadb9e97d8e4ad64e0c91f7c1454cd4caa' |