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

apply from: '../oracle.gradle'

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

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

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