diff options
Diffstat (limited to 'packages/oraclejdk/build.gradle')
-rw-r--r-- | packages/oraclejdk/build.gradle | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/oraclejdk/build.gradle b/packages/oraclejdk/build.gradle index 6c1e3d6..e2e8c90 100644 --- a/packages/oraclejdk/build.gradle +++ b/packages/oraclejdk/build.gradle @@ -18,4 +18,11 @@ subprojects { project.afterEvaluate { untar.from tarTree(download.destFile) } + + tasks.getByName('createActivator').dependsOn('untar') + tasks.getByName('createActivator').doFirst { + file("${buildDir}/unpacked/dist/bin").list().each { + activator.bin[it] = "/opt/${project.name}/bin/${it}" + } + } }
\ No newline at end of file |