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/oraclejdk8/build.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'packages/oraclejdk/oraclejdk8') diff --git a/packages/oraclejdk/oraclejdk8/build.gradle b/packages/oraclejdk/oraclejdk8/build.gradle index 98c16a1..76c9c46 100644 --- a/packages/oraclejdk/oraclejdk8/build.gradle +++ b/packages/oraclejdk/oraclejdk8/build.gradle @@ -1,9 +1,11 @@ version '8.66' -apply from: '../oracle.gradle' +ext.download = makeDownloadTask( + url: 'http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-8u66-linux-x64.tar.gz', + sha256: '7e95ad5fa1c75bc65d54aaac9e9986063d0a442f39a53f77909b044cef63dc0a') + -download.source 'http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-8u66-linux-x64.tar.gz' -download.sha256sum '7e95ad5fa1c75bc65d54aaac9e9986063d0a442f39a53f77909b044cef63dc0a' +apply from: '../oracle.gradle' ospackage { into '/usr/lib/jvm/java-8-oraclejdk' -- cgit v1.2.1