mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 17:39:36 +08:00
Fixing Integration Test build when top-level source directory is not
named "ghidra" (fixes #876).
This commit is contained in:
@@ -14,19 +14,16 @@ dependencies {
|
|||||||
rootProject.subprojects { p ->
|
rootProject.subprojects { p ->
|
||||||
p.plugins.withType(JavaPlugin) {
|
p.plugins.withType(JavaPlugin) {
|
||||||
def projectPath = p.projectDir.path.replace(File.separator, "/")
|
def projectPath = p.projectDir.path.replace(File.separator, "/")
|
||||||
if (projectPath.contains("ghidra/Ghidra")) {
|
if (projectPath.startsWith(ghidraPath) && (
|
||||||
if (projectPath.contains("/Framework/") ||
|
projectPath.contains("/Framework/") ||
|
||||||
projectPath.contains("/Features/") ||
|
projectPath.contains("/Features/") ||
|
||||||
projectPath.contains("/Processors/")) {
|
projectPath.contains("/Processors/"))) {
|
||||||
|
|
||||||
compile p
|
compile p
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// some tests use classes in Base/src/test and test.slow
|
// some tests use classes in Base/src/test and test.slow
|
||||||
testCompile project(path: ':Base', configuration: 'testArtifacts')
|
testCompile project(path: ':Base', configuration: 'testArtifacts')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user