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

ext.download = makeDownloadTask(
    url: "http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-" +
            "${project.version.asType(String).replace('.', 'u')}-linux-x64.tar.gz",
    sha256: '79a3f25e9b466cb9e969d1772ea38550de320c88e9119bf8aa11ce8547c39987')


apply from: '../oracle.gradle'

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