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/grails/grails2.2.1/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'packages/grails/grails2.2.1') diff --git a/packages/grails/grails2.2.1/build.gradle b/packages/grails/grails2.2.1/build.gradle index cee5d9d..bf16499 100644 --- a/packages/grails/grails2.2.1/build.gradle +++ b/packages/grails/grails2.2.1/build.gradle @@ -1,6 +1,8 @@ version '2.2.1' +ext.downloadTask = makeDownloadTask( + url: "http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-${project.version}.zip", + sha256: '4ec22ff45718a0f4948261f15f7c46e67ab0c2294d83d6c3eddb110d00f9af1d') + apply from: '../grails.gradle' -download.source "http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-${project.version}.zip" -download.sha256sum '4ec22ff45718a0f4948261f15f7c46e67ab0c2294d83d6c3eddb110d00f9af1d' -- cgit v1.2.1