org.gradle.api.internal.classpath.ModuleRegistry Java Examples

The following examples show how to use org.gradle.api.internal.classpath.ModuleRegistry. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BuildScopeServices.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
protected ClassPathRegistry createClassPathRegistry() {
    return new DefaultClassPathRegistry(
            new DefaultClassPathProvider(get(ModuleRegistry.class)),
            new DependencyClassPathProvider(get(ModuleRegistry.class),
                    get(PluginModuleRegistry.class)),
            get(WorkerProcessClassPathProvider.class));
}
 
Example #2
Source File: ForkingTestClassProcessor.java    From gradle-dockerized-test-plugin with Apache License 2.0 5 votes vote down vote up
public ForkingTestClassProcessor(WorkerProcessFactory workerFactory, WorkerTestClassProcessorFactory processorFactory, JavaForkOptions options, Iterable<File> classPath, Action<WorkerProcessBuilder> buildConfigAction, ModuleRegistry moduleRegistry) {
    this.workerFactory = workerFactory;
    this.processorFactory = processorFactory;
    this.options = options;
    this.classPath = classPath;
    this.buildConfigAction = buildConfigAction;
    this.moduleRegistry = moduleRegistry;
}
 
Example #3
Source File: TestExecuter.java    From gradle-dockerized-test-plugin with Apache License 2.0 5 votes vote down vote up
public TestExecuter(WorkerProcessFactory workerFactory, ActorFactory actorFactory, ModuleRegistry moduleRegistry, BuildOperationExecutor buildOperationExecutor, Clock clock) {
    this.workerFactory = workerFactory;
    this.actorFactory = actorFactory;
    this.moduleRegistry = moduleRegistry;
    this.buildOperationExecutor = buildOperationExecutor;
    this.clock = clock;
}
 
Example #4
Source File: BuildScopeServices.java    From pushfish-android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
protected ClassPathRegistry createClassPathRegistry() {
    return new DefaultClassPathRegistry(
            new DefaultClassPathProvider(get(ModuleRegistry.class)),
            new DependencyClassPathProvider(get(ModuleRegistry.class),
                    get(PluginModuleRegistry.class)),
            get(WorkerProcessClassPathProvider.class)
    );
}
 
Example #5
Source File: BuildScopeServices.java    From pushfish-android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
protected ClassPathRegistry createClassPathRegistry() {
    return new DefaultClassPathRegistry(
            new DefaultClassPathProvider(get(ModuleRegistry.class)),
            new DependencyClassPathProvider(get(ModuleRegistry.class),
                    get(PluginModuleRegistry.class)),
            get(WorkerProcessClassPathProvider.class));
}
 
Example #6
Source File: BuildScopeServices.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
protected ClassPathRegistry createClassPathRegistry() {
    return new DefaultClassPathRegistry(
            new DefaultClassPathProvider(get(ModuleRegistry.class)),
            new DependencyClassPathProvider(get(ModuleRegistry.class),
                    get(PluginModuleRegistry.class)),
            get(WorkerProcessClassPathProvider.class)
    );
}
 
Example #7
Source File: DependencyClassPathProvider.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DependencyClassPathProvider(ModuleRegistry moduleRegistry, PluginModuleRegistry pluginModuleRegistry) {
    this.moduleRegistry = moduleRegistry;
    this.pluginModuleRegistry = pluginModuleRegistry;
}
 
Example #8
Source File: DynamicModulesClassPathProvider.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DynamicModulesClassPathProvider(ModuleRegistry moduleRegistry, PluginModuleRegistry pluginModuleRegistry) {
    this.moduleRegistry = moduleRegistry;
    this.pluginModuleRegistry = pluginModuleRegistry;
}
 
Example #9
Source File: WorkerProcessClassPathProvider.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public WorkerProcessClassPathProvider(CacheRepository cacheRepository, ModuleRegistry moduleRegistry) {
    this.cacheRepository = cacheRepository;
    this.moduleRegistry = moduleRegistry;
}
 
Example #10
Source File: GlobalScopeServices.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
ClassPathRegistry createClassPathRegistry(ModuleRegistry moduleRegistry, PluginModuleRegistry pluginModuleRegistry) {
    return new DefaultClassPathRegistry(
            new DefaultClassPathProvider(moduleRegistry),
            new DynamicModulesClassPathProvider(moduleRegistry,
                    pluginModuleRegistry));
}
 
Example #11
Source File: GlobalScopeServices.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
PluginModuleRegistry createPluginModuleRegistry(ModuleRegistry moduleRegistry) {
    return new DefaultPluginModuleRegistry(moduleRegistry);
}
 
Example #12
Source File: BuildScopeServices.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected WorkerProcessClassPathProvider createWorkerProcessClassPathProvider(CacheRepository cacheRepository, ModuleRegistry moduleRegistry) {
    return new WorkerProcessClassPathProvider(cacheRepository, moduleRegistry);
}
 
Example #13
Source File: BuildScopeServices.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected WorkerProcessClassPathProvider createWorkerProcessClassPathProvider(CacheRepository cacheRepository, ModuleRegistry moduleRegistry) {
    return new WorkerProcessClassPathProvider(cacheRepository, moduleRegistry);
}
 
Example #14
Source File: DefaultClassPathProvider.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultClassPathProvider(ModuleRegistry moduleRegistry) {
    this.moduleRegistry = moduleRegistry;
}
 
Example #15
Source File: DynamicModulesClassPathProvider.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DynamicModulesClassPathProvider(ModuleRegistry moduleRegistry, PluginModuleRegistry pluginModuleRegistry) {
    this.moduleRegistry = moduleRegistry;
    this.pluginModuleRegistry = pluginModuleRegistry;
}
 
Example #16
Source File: WorkerProcessClassPathProvider.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public WorkerProcessClassPathProvider(CacheRepository cacheRepository, ModuleRegistry moduleRegistry) {
    this.cacheRepository = cacheRepository;
    this.moduleRegistry = moduleRegistry;
}
 
Example #17
Source File: GlobalScopeServices.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
ClassPathRegistry createClassPathRegistry(ModuleRegistry moduleRegistry, PluginModuleRegistry pluginModuleRegistry) {
    return new DefaultClassPathRegistry(
            new DefaultClassPathProvider(moduleRegistry),
            new DynamicModulesClassPathProvider(moduleRegistry,
                    pluginModuleRegistry));
}
 
Example #18
Source File: GlobalScopeServices.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
PluginModuleRegistry createPluginModuleRegistry(ModuleRegistry moduleRegistry) {
    return new DefaultPluginModuleRegistry(moduleRegistry);
}
 
Example #19
Source File: DependencyClassPathProvider.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DependencyClassPathProvider(ModuleRegistry moduleRegistry, PluginModuleRegistry pluginModuleRegistry) {
    this.moduleRegistry = moduleRegistry;
    this.pluginModuleRegistry = pluginModuleRegistry;
}
 
Example #20
Source File: DefaultClassPathProvider.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultClassPathProvider(ModuleRegistry moduleRegistry) {
    this.moduleRegistry = moduleRegistry;
}
 
Example #21
Source File: DependencyClassPathProvider.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DependencyClassPathProvider(ModuleRegistry moduleRegistry, PluginModuleRegistry pluginModuleRegistry) {
    this.moduleRegistry = moduleRegistry;
    this.pluginModuleRegistry = pluginModuleRegistry;
}
 
Example #22
Source File: BuildScopeServices.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected WorkerProcessClassPathProvider createWorkerProcessClassPathProvider(CacheRepository cacheRepository, ModuleRegistry moduleRegistry) {
    return new WorkerProcessClassPathProvider(cacheRepository, moduleRegistry);
}
 
Example #23
Source File: GlobalScopeServices.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
PluginModuleRegistry createPluginModuleRegistry(ModuleRegistry moduleRegistry) {
    return new DefaultPluginModuleRegistry(moduleRegistry);
}
 
Example #24
Source File: GlobalScopeServices.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
ClassPathRegistry createClassPathRegistry(ModuleRegistry moduleRegistry, PluginModuleRegistry pluginModuleRegistry) {
    return new DefaultClassPathRegistry(
            new DefaultClassPathProvider(moduleRegistry),
            new DynamicModulesClassPathProvider(moduleRegistry,
                    pluginModuleRegistry));
}
 
Example #25
Source File: WorkerProcessClassPathProvider.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public WorkerProcessClassPathProvider(CacheRepository cacheRepository, ModuleRegistry moduleRegistry) {
    this.cacheRepository = cacheRepository;
    this.moduleRegistry = moduleRegistry;
}
 
Example #26
Source File: DynamicModulesClassPathProvider.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DynamicModulesClassPathProvider(ModuleRegistry moduleRegistry, PluginModuleRegistry pluginModuleRegistry) {
    this.moduleRegistry = moduleRegistry;
    this.pluginModuleRegistry = pluginModuleRegistry;
}
 
Example #27
Source File: DefaultClassPathProvider.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultClassPathProvider(ModuleRegistry moduleRegistry) {
    this.moduleRegistry = moduleRegistry;
}
 
Example #28
Source File: DependencyClassPathProvider.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DependencyClassPathProvider(ModuleRegistry moduleRegistry, PluginModuleRegistry pluginModuleRegistry) {
    this.moduleRegistry = moduleRegistry;
    this.pluginModuleRegistry = pluginModuleRegistry;
}
 
Example #29
Source File: BuildScopeServices.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected WorkerProcessClassPathProvider createWorkerProcessClassPathProvider(CacheRepository cacheRepository, ModuleRegistry moduleRegistry) {
    return new WorkerProcessClassPathProvider(cacheRepository, moduleRegistry);
}
 
Example #30
Source File: GlobalScopeServices.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
PluginModuleRegistry createPluginModuleRegistry(ModuleRegistry moduleRegistry) {
    return new DefaultPluginModuleRegistry(moduleRegistry);
}