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/oraclejdk/oraclejdk7/build.gradle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'packages/oraclejdk/oraclejdk7/build.gradle') diff --git a/packages/oraclejdk/oraclejdk7/build.gradle b/packages/oraclejdk/oraclejdk7/build.gradle index 0838dd6..5674eee 100644 --- a/packages/oraclejdk/oraclejdk7/build.gradle +++ b/packages/oraclejdk/oraclejdk7/build.gradle @@ -1,9 +1,10 @@ version '7.80' -apply from: '../oracle.gradle' +ext.download = makeDownloadTask( + url: 'http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-7u80-linux-x64.tar.gz', + sha256: 'bad9a731639655118740bee119139c1ed019737ec802a630dd7ad7aab4309623') -download.source 'http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-7u80-linux-x64.tar.gz' -download.sha256sum 'bad9a731639655118740bee119139c1ed019737ec802a630dd7ad7aab4309623' +apply from: '../oracle.gradle' ospackage { into '/usr/lib/jvm/java-7-oraclejdk' -- cgit v1.2.1