Search in sources :

Example 1 with GradleUserHomeScopeServiceRegistry

use of org.gradle.internal.service.scopes.GradleUserHomeScopeServiceRegistry in project gradle by gradle.

the class ProjectBuilderImpl method getUserHomeServices.

private ServiceRegistry getUserHomeServices(File userHomeDir) {
    ServiceRegistry globalServices = getGlobalServices();
    GradleUserHomeScopeServiceRegistry userHomeScopeServiceRegistry = globalServices.get(GradleUserHomeScopeServiceRegistry.class);
    return userHomeScopeServiceRegistry.getServicesFor(userHomeDir);
}
Also used : GradleUserHomeScopeServiceRegistry(org.gradle.internal.service.scopes.GradleUserHomeScopeServiceRegistry) ServiceRegistry(org.gradle.internal.service.ServiceRegistry) GradleUserHomeScopeServiceRegistry(org.gradle.internal.service.scopes.GradleUserHomeScopeServiceRegistry) LoggingServiceRegistry(org.gradle.internal.logging.services.LoggingServiceRegistry)

Aggregations

LoggingServiceRegistry (org.gradle.internal.logging.services.LoggingServiceRegistry)1 ServiceRegistry (org.gradle.internal.service.ServiceRegistry)1 GradleUserHomeScopeServiceRegistry (org.gradle.internal.service.scopes.GradleUserHomeScopeServiceRegistry)1