From 74ad736656b986942d99667394b5462975c26304 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sun, 23 Oct 2016 19:45:34 +0200 Subject: refactor buildscripts to use de.undercouch.download for dowload and verify --- packages/scheme2ddl/build.gradle | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'packages/scheme2ddl/build.gradle') 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 } -- cgit v1.2.1