GT-3062: code review fixes (closes #875)

This commit is contained in:
adamopolous
2019-08-06 16:45:18 -04:00
parent 54f61b03c5
commit aee9b170eb
2 changed files with 6 additions and 5 deletions
+3 -5
View File
@@ -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.
+3
View File
@@ -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
}