diff --git a/Ghidra/Test/IntegrationTest/build.gradle b/Ghidra/Test/IntegrationTest/build.gradle index 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.slow testCompile project(path: ':Base', configuration: 'testArtifacts') }