Ghidra is a software reverse engineering (SRE) framework
Fixing Integration Test build when top-level source directory is not named "ghidra" (fixes #876).
Ryan Kurtz0f33a90bad76
diff --git a/Ghidra/Test/IntegrationTest/build.gradle b/Ghidra/Test/IntegrationTest/build.gradleindex f962f11fc3..4d2103b21f 100644--- a/Ghidra/Test/IntegrationTest/build.gradle+++ b/Ghidra/Test/IntegrationTest/build.gradle@@ -14,19 +14,16 @@ dependencies {rootProject.subprojects { p ->p.plugins.withType(JavaPlugin) {def projectPath = p.projectDir.path.replace(File.separator, "/")- if (projectPath.contains("ghidra/Ghidra")) {- if (projectPath.contains("/Framework/") ||- projectPath.contains("/Features/") ||- projectPath.contains("/Processors/")) {-- compile p- }+ if (projectPath.startsWith(ghidraPath) && (+ projectPath.contains("/Framework/") ||+ projectPath.contains("/Features/") ||+ projectPath.contains("/Processors/"))) {++ compile p}}}--// some tests use classes in Base/src/test and test.slowtestCompile project(path: ':Base', configuration: 'testArtifacts')}