summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-12-17 00:27:24 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-12-17 00:27:24 +0100
commit121c5692bc67fc9374fb72eccaef15f809b0d4e2 (patch)
treef12eae481dc47b8f4dad66bfc022f1fa7023a734 /packages
parente7fe9057c3e0164db23f98b884e1de092b4aafbb (diff)
downloaddebian-packages-121c5692bc67fc9374fb72eccaef15f809b0d4e2.tar.gz
debian-packages-121c5692bc67fc9374fb72eccaef15f809b0d4e2.zip
add activator task input/output declaration
Diffstat (limited to 'packages')
-rw-r--r--packages/scripts-cern/build.gradle6
-rw-r--r--packages/scripts/build.gradle6
2 files changed, 4 insertions, 8 deletions
diff --git a/packages/scripts-cern/build.gradle b/packages/scripts-cern/build.gradle
index c6bdfa5..1c31991 100644
--- a/packages/scripts-cern/build.gradle
+++ b/packages/scripts-cern/build.gradle
@@ -5,8 +5,6 @@ ospackage {
from files('resources')
}
-tasks.getByName('activator').doFirst {
- new File("resources/bin").listFiles().each {
- activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}"
- }
+new File(project.projectDir, "resources/bin").listFiles().each {
+ activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}"
}
diff --git a/packages/scripts/build.gradle b/packages/scripts/build.gradle
index c6bdfa5..1c31991 100644
--- a/packages/scripts/build.gradle
+++ b/packages/scripts/build.gradle
@@ -5,8 +5,6 @@ ospackage {
from files('resources')
}
-tasks.getByName('activator').doFirst {
- new File("resources/bin").listFiles().each {
- activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}"
- }
+new File(project.projectDir, "resources/bin").listFiles().each {
+ activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}"
}