summaryrefslogtreecommitdiff
path: root/packages/oraclejdk/oraclejdk8/build.gradle
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-10-23 19:45:34 +0200
committerYves Fischer <yvesf-git@xapek.org>2016-10-23 19:45:34 +0200
commit74ad736656b986942d99667394b5462975c26304 (patch)
tree67d5c504c88948e8971f514d88d606cdf3781f3b /packages/oraclejdk/oraclejdk8/build.gradle
parentc015b891ac4cebdf7b1ce6038490df321a135738 (diff)
downloaddebian-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.gradle8
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'