From d5d7d42c170ec2dac76a2cacc314eadbcf9cf2fd Mon Sep 17 00:00:00 2001 From: ghidra1 Date: Tue, 22 Dec 2020 18:04:30 -0500 Subject: [PATCH] GP-542 corrected Ghidra Server classpath.frag file generation --- Ghidra/Features/GhidraServer/build.gradle | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Ghidra/Features/GhidraServer/build.gradle b/Ghidra/Features/GhidraServer/build.gradle index f695e257a8..9abd33ea21 100644 --- a/Ghidra/Features/GhidraServer/build.gradle +++ b/Ghidra/Features/GhidraServer/build.gradle @@ -79,16 +79,14 @@ task generateGhidraServerClasspath { outfile.withPrintWriter { out -> int idx = 0 configurations.runGhidraServer.each { jarFile -> - if (!jarFile.path.contains("/libsForBuild/")) { - def JAR_PATH = rootProject.relativePath(jarFile.absolutePath) - File distPath = file("/") - String resPath - for (Configuration conf : project.getConfigurations()) { - resPath = findJarInDistribution(project, conf, jarFile) - if (resPath != null) { - out.println("wrapper.java.classpath.${++idx}=\${ghidra_home}/${resPath}") - break - } + def JAR_PATH = rootProject.relativePath(jarFile.absolutePath) + File distPath = file("/") + String resPath + for (Configuration conf : project.getConfigurations()) { + resPath = findJarInDistribution(project, conf, jarFile) + if (resPath != null) { + out.println("wrapper.java.classpath.${++idx}=\${ghidra_home}/${resPath}") + break } } }