private final GradleBuildInvocationSpec targetBuild;
private boolean ignoreFailures;
private Object reportDir;
public CompareGradleBuilds() {
FileResolver fileResolver = getFileResolver();
Instantiator instantiator = getInstantiator();
sourceBuild = instantiator.newInstance(DefaultGradleBuildInvocationSpec.class, fileResolver, getProject().getRootDir());
sourceBuild.setTasks(DEFAULT_TASKS);
targetBuild = instantiator.newInstance(DefaultGradleBuildInvocationSpec.class, fileResolver, getProject().getRootDir());
targetBuild.setTasks(DEFAULT_TASKS);