blob: 76c9c46813639f2bd9c9ad56b2f58cde63dc4c22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
version '8.66'
ext.download = makeDownloadTask(
url: 'http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-8u66-linux-x64.tar.gz',
sha256: '7e95ad5fa1c75bc65d54aaac9e9986063d0a442f39a53f77909b044cef63dc0a')
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}"
}
}
|