summaryrefslogtreecommitdiff
path: root/packages/oraclejdk/oraclejdk7/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/oraclejdk7/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/oraclejdk7/build.gradle')
-rw-r--r--packages/oraclejdk/oraclejdk7/build.gradle7
1 files changed, 4 insertions, 3 deletions
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'