mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +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,18 +14,15 @@ 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/") ||
|
||||
if (projectPath.startsWith(ghidraPath) && (
|
||||
projectPath.contains("/Framework/") ||
|
||||
projectPath.contains("/Features/") ||
|
||||
projectPath.contains("/Processors/")) {
|
||||
projectPath.contains("/Processors/"))) {
|
||||
|
||||
compile p
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// some tests use classes in Base/src/test and test.slow
|
||||
testCompile project(path: ':Base', configuration: 'testArtifacts')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue