use of org.gradle.internal.event.DefaultListenerManager in project gradle by gradle.
the class SynchronizedLogging method services.
private ThreadLoggingServices services() {
ThreadLoggingServices threadServices = services.get();
if (threadServices == null) {
DefaultListenerManager manager = new DefaultListenerManager();
DefaultProgressLoggerFactory progressLoggerFactory = new DefaultProgressLoggerFactory(manager.getBroadcaster(ProgressListener.class), new TrueTimeProvider());
threadServices = new ThreadLoggingServices(manager, progressLoggerFactory);
services.set(threadServices);
}
return threadServices;
}
Aggregations