summaryrefslogtreecommitdiff
path: root/packages/oraclejdk/oraclejdk8
diff options
context:
space:
mode:
Diffstat (limited to 'packages/oraclejdk/oraclejdk8')
-rw-r--r--packages/oraclejdk/oraclejdk8/build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/oraclejdk/oraclejdk8/build.gradle b/packages/oraclejdk/oraclejdk8/build.gradle
index d6d73c7..98c16a1 100644
--- a/packages/oraclejdk/oraclejdk8/build.gradle
+++ b/packages/oraclejdk/oraclejdk8/build.gradle
@@ -10,3 +10,8 @@ ospackage {
}
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}"
+ }
+}