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

apply from: '../oracle.gradle'

download.source 'http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-7u80-linux-x64.tar.gz'
download.sha256sum 'bad9a731639655118740bee119139c1ed019737ec802a630dd7ad7aab4309623'

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}"
  }
}