minor change to matrix plugin to allow multiple sources for specifying to skip "matrix unit" test task generation
This commit is contained in:
parent
181496ac7c
commit
34c2fa4409
|
@ -86,11 +86,15 @@ public class MatrixTestingPlugin implements Plugin<Project> {
|
|||
matrixTask.dependsOn( matrixNodeTask );
|
||||
}
|
||||
|
||||
if ( !System.properties[SKIP_UNIT_TEST].equals('true') ) {
|
||||
if ( ! shouldSkipMatrixTestsAgainstDefaultDb() ) {
|
||||
createTestTaskForMatrixSourceSet();
|
||||
}
|
||||
}
|
||||
|
||||
private boolean shouldSkipMatrixTestsAgainstDefaultDb() {
|
||||
return "true".equals( project.properties[SKIP_UNIT_TEST] ) || "true".equals( System.properties[SKIP_UNIT_TEST] );
|
||||
}
|
||||
|
||||
private List<MatrixNode> locateMatrixNodes() {
|
||||
List<MatrixNode> matrixNodes = new ArrayList<MatrixNode>();
|
||||
Iterable<DatabaseProfile> profiles = project.rootProject.plugins[DatabaseProfilePlugin].databaseProfiles;
|
||||
|
|
Loading…
Reference in New Issue