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/scheme2ddl/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/scheme2ddl/build.gradle')
-rw-r--r-- | packages/scheme2ddl/build.gradle | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/packages/scheme2ddl/build.gradle b/packages/scheme2ddl/build.gradle index a5d9bda..b863234 100644 --- a/packages/scheme2ddl/build.gradle +++ b/packages/scheme2ddl/build.gradle @@ -1,14 +1,11 @@ -import org.xapek.yvesf.gradle.DownloadTask - version '2.3.12' -task downloadFiles(type: DownloadTask) { - source "https://bintray.com/artifact/download/qwazer/maven/com/googlecode/" + - "scheme2ddl/${project.version}/scheme2ddl-${project.version}.jar" - sha256sum '31b0627cfabca76cc38a4f32f5e7e1cc31979ec9e9eaf45243514d1306e96ccd' -} +final download = makeDownloadTask( + url: "https://bintray.com/artifact/download/qwazer/maven/com/googlecode/" + + "scheme2ddl/${project.version}/scheme2ddl-${project.version}.jar", + sha256: '31b0627cfabca76cc38a4f32f5e7e1cc31979ec9e9eaf45243514d1306e96ccd') ospackage { into "/opt/${project.name}" - from downloadFiles.outputs.files + from download.outputs.files } |