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/oraclejdk/oraclejdk8/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/oraclejdk/oraclejdk8/build.gradle')
-rw-r--r-- | packages/oraclejdk/oraclejdk8/build.gradle | 8 |
1 files changed, 5 insertions, 3 deletions
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' |