From 121c5692bc67fc9374fb72eccaef15f809b0d4e2 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 17 Dec 2016 00:27:24 +0100 Subject: add activator task input/output declaration --- packages/scripts/build.gradle | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'packages/scripts') 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}" } -- cgit v1.2.1