if (upTo == Stage.Configure) {
return;
}
// Populate task graph
BuildExecuter executer = gradle.getStartParameter().getBuildExecuter();
executer.select(gradle);
if (upTo == Stage.PopulateTaskGraph) {
return;
}
// Execute build
LOGGER.info(String.format("Starting build for %s.", executer.getDisplayName()));
executer.execute();
assert upTo == Stage.Build;
}