Properties sysProperties = new Properties();
sysProperties.putAll(System.getProperties());
try {
RunBuildAction action = new RunBuildAction(startParameter, loggingServices, new DefaultBuildRequestMetaData(build.getClientMetaData(), build.getStartTime())) {
@Override
GradleLauncherFactory createGradleLauncherFactory(ServiceRegistry loggingServices) {
return launcherFactory;
}
};