diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2016-10-23 19:45:34 +0200 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2016-10-23 19:45:34 +0200 |
commit | 74ad736656b986942d99667394b5462975c26304 (patch) | |
tree | 67d5c504c88948e8971f514d88d606cdf3781f3b /packages/groovy-bin/build.gradle | |
parent | c015b891ac4cebdf7b1ce6038490df321a135738 (diff) | |
download | debian-packages-74ad736656b986942d99667394b5462975c26304.tar.gz debian-packages-74ad736656b986942d99667394b5462975c26304.zip |
refactor buildscripts to use de.undercouch.download for dowload and verify
Diffstat (limited to 'packages/groovy-bin/build.gradle')
-rw-r--r-- | packages/groovy-bin/build.gradle | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/packages/groovy-bin/build.gradle b/packages/groovy-bin/build.gradle deleted file mode 100644 index 35ef994..0000000 --- a/packages/groovy-bin/build.gradle +++ /dev/null @@ -1,28 +0,0 @@ -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) - } - - activator.bin['groovysh'] = "/opt/${project.name}/bin/groovysh" - activator.bin['groovy'] = "/opt/${project.name}/bin/groovy" - activator.bin['groovyConsole'] = "/opt/${project.name}/bin/groovyConsole" - activator.env['GROOVY_HOME'] = "/opt/${project.name}" -} |