summaryrefslogtreecommitdiff
path: root/packages/oraclejdk/oraclejdk7/build.gradle
blob: 5674eeef5197c047bb474c1a12ac3f5b41125c7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version '7.80'

ext.download = makeDownloadTask(
    url: 'http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-7u80-linux-x64.tar.gz',
    sha256: 'bad9a731639655118740bee119139c1ed019737ec802a630dd7ad7aab4309623')

apply from: '../oracle.gradle'

ospackage {
  into '/usr/lib/jvm/java-7-oraclejdk'
}

activator.env['JAVA_HOME'] = '/usr/lib/jvm/java-7-oraclejdk'
tasks.getByName('activator').doFirst {
  file("${buildDir}/unpacked/dist/bin").list().each {
    activator.bin[it] = "/usr/lib/jvm/java-8-oraclejdk/bin/${it}"
  }
}