From ae79f00e7561453724a972d7ff4a7a20e9a0c856 Mon Sep 17 00:00:00 2001 From: ghidravore Date: Wed, 24 Apr 2019 12:23:14 -0400 Subject: [PATCH] fixed copy task in GhidraDevPlugin --- .../GhidraDev/GhidraDevPlugin/build.gradle | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/build.gradle b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/build.gradle index 620adfa405..f37441ffde 100644 --- a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/build.gradle +++ b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/build.gradle @@ -53,20 +53,13 @@ File cdtDestDir = file("build/data/buildDependencies/cdt") task utilityJar(type:Copy) { destinationDir libraryJarDestDir - // Explicitly add output from Utility:jar task. - // Using "project(':Utility').jar" will not compile here, and - // adding configuration in doFirst would result in task always - // up-to-date. - from tasks.getByPath(':Utility:jar').outputs - into destinationDir + from { project(':Utility').jar } // using closure to delay until all projects evaluated } task launchSupportJar(type:Copy) { - doFirst { - from (project(':LaunchSupport').jar) - } - destinationDir libraryJarDestDir + + from { project(':LaunchSupport').jar } // using closure to delay until all projects evaluated } task pyDevUnpack(type:Copy) {