mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-20 07:44:40 +08:00
GT-3062: code review fixes (closes #875)
This commit is contained in:
@@ -8,9 +8,7 @@ eclipse.project.name = '_Integration Test'
|
||||
* Build dependencies
|
||||
*********************************************************************************/
|
||||
dependencies {
|
||||
// integration test module may depends on all other projects within this repo
|
||||
def ghidraPath = projectDir.getParentFile().getParentFile().path.replace(File.separator, "/") + "/";
|
||||
|
||||
|
||||
rootProject.subprojects { p ->
|
||||
p.plugins.withType(JavaPlugin) {
|
||||
def projectPath = p.projectDir.path.replace(File.separator, "/")
|
||||
@@ -29,8 +27,8 @@ dependencies {
|
||||
|
||||
// some tests use classes in Base/src/test and test.slow
|
||||
testCompile project(path: ':Base', configuration: 'testArtifacts')
|
||||
compile project(path: ':Base', configuration: 'integrationTestArtifacts')
|
||||
compile project(path: ':FunctionGraph', configuration: 'testArtifacts')
|
||||
testCompile project(path: ':Base', configuration: 'integrationTestArtifacts')
|
||||
testCompile project(path: ':FunctionGraph', configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
// For Java 9, we must explicitly export references to the internal classes we are using.
|
||||
|
||||
@@ -79,6 +79,9 @@ sourceSets {
|
||||
screenShots {
|
||||
java {
|
||||
srcDir 'src/screen/java'
|
||||
|
||||
// Screenshots are essentially tests, and depend on classes in several other
|
||||
// test directories so they must be included here
|
||||
compileClasspath += main.output + test.output + integrationTest.output
|
||||
runtimeClasspath += main.output + test.output + integrationTest.output
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user