ProviderConnection createProviderConnection(GradleLauncherFactory gradleLauncherFactory, DaemonClientFactory daemonClientFactory,
ClassLoaderFactory classLoaderFactory, ClassLoaderCache classLoaderCache, ShutdownCoordinator shutdownCoordinator) {
return new ProviderConnection(
loggingServices,
daemonClientFactory,
new InProcessBuildActionExecuter(gradleLauncherFactory),
new PayloadSerializer(
new ClientSidePayloadClassLoaderRegistry(
new DefaultPayloadClassLoaderRegistry(
new ClassLoaderCache(),
new ClientSidePayloadClassLoaderFactory(