Search in sources :

Example 1 with ReportDaemonStatusClient

use of org.gradle.launcher.daemon.client.ReportDaemonStatusClient in project gradle by gradle.

the class BuildActionsFactory method showDaemonStatus.

private Runnable showDaemonStatus(DaemonParameters daemonParameters, ServiceRegistry loggingServices) {
    ServiceRegistry clientSharedServices = createGlobalClientServices();
    ServiceRegistry clientServices = clientSharedServices.get(DaemonClientFactory.class).createStopDaemonServices(loggingServices.get(OutputEventListener.class), daemonParameters);
    ReportDaemonStatusClient statusClient = clientServices.get(ReportDaemonStatusClient.class);
    return new ReportDaemonStatusAction(statusClient);
}
Also used : ReportDaemonStatusClient(org.gradle.launcher.daemon.client.ReportDaemonStatusClient) DaemonClientFactory(org.gradle.launcher.daemon.client.DaemonClientFactory) ServiceRegistry(org.gradle.internal.service.ServiceRegistry) OutputEventListener(org.gradle.internal.logging.events.OutputEventListener)

Aggregations

OutputEventListener (org.gradle.internal.logging.events.OutputEventListener)1 ServiceRegistry (org.gradle.internal.service.ServiceRegistry)1 DaemonClientFactory (org.gradle.launcher.daemon.client.DaemonClientFactory)1 ReportDaemonStatusClient (org.gradle.launcher.daemon.client.ReportDaemonStatusClient)1