mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Fixing Integration Test build when top-level source directory is not
named "ghidra" (fixes #876).
This commit is contained in:
parent
78a551b6d8
commit
0f33a90bad
1 changed files with 6 additions and 9 deletions
|
@ -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')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue