diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2016-05-21 22:40:24 +0200 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2016-05-21 22:40:47 +0200 |
commit | 7451517d63ceb174268367fe4a5e0782591da1f2 (patch) | |
tree | 9a3916ef2a43ab31d4f523c8e53bfaa62b01cac2 /packages/oraclejdk/build.gradle | |
parent | e3120e43082e79fa832ba4d3a4523dfaebf1afc2 (diff) | |
download | debian-packages-7451517d63ceb174268367fe4a5e0782591da1f2.tar.gz debian-packages-7451517d63ceb174268367fe4a5e0782591da1f2.zip |
stop using intermediate projects for config inheritance
Diffstat (limited to 'packages/oraclejdk/build.gradle')
-rw-r--r-- | packages/oraclejdk/build.gradle | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/packages/oraclejdk/build.gradle b/packages/oraclejdk/build.gradle deleted file mode 100644 index e2e8c90..0000000 --- a/packages/oraclejdk/build.gradle +++ /dev/null @@ -1,28 +0,0 @@ -import org.xapek.yvesf.gradle.DownloadTask - -subprojects { - task download(type: DownloadTask) {} - - task untar(type: Copy) { - into file("${buildDir}/unpacked/dist") - eachFile { FileCopyDetails fcd -> - fcd.path = fcd.path.substring(path.indexOf('/') + 1) - } - } - untar.dependsOn(download) - - ospackage { - from untar.outputs.files - } - - 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 |