当前位置: 首页>>代码示例>>Java>>正文


Java RepositoryTransportFactory类代码示例

本文整理汇总了Java中org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory的典型用法代码示例。如果您正苦于以下问题:Java RepositoryTransportFactory类的具体用法?Java RepositoryTransportFactory怎么用?Java RepositoryTransportFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


RepositoryTransportFactory类属于org.gradle.api.internal.artifacts.repositories.transport包,在下文中一共展示了RepositoryTransportFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: DefaultBaseRepositoryFactory

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public DefaultBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator,
                                    FileResolver fileResolver,
                                    Instantiator instantiator,
                                    RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder,
                                    FileStore<ModuleComponentArtifactIdentifier> artifactFileStore,
                                    MetaDataParser<MutableMavenModuleResolveMetadata> pomParser,
                                    AuthenticationSchemeRegistry authenticationSchemeRegistry,
                                    IvyContextManager ivyContextManager) {
    this.localMavenRepositoryLocator = localMavenRepositoryLocator;
    this.fileResolver = fileResolver;
    this.instantiator = instantiator;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.artifactFileStore = artifactFileStore;
    this.pomParser = pomParser;
    this.authenticationSchemeRegistry = authenticationSchemeRegistry;
    this.ivyContextManager = ivyContextManager;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:20,代码来源:DefaultBaseRepositoryFactory.java

示例2: createBaseRepositoryFactory

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
BaseRepositoryFactory createBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator, Instantiator instantiator, FileResolver fileResolver,
                                                  RepositoryTransportFactory repositoryTransportFactory, LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder,
                                                  ArtifactIdentifierFileStore artifactIdentifierFileStore,
                                                  VersionSelectorScheme versionSelectorScheme,
                                                  AuthenticationSchemeRegistry authenticationSchemeRegistry,
                                                  IvyContextManager ivyContextManager) {
    return new DefaultBaseRepositoryFactory(
            localMavenRepositoryLocator,
            fileResolver,
            instantiator,
            repositoryTransportFactory,
            locallyAvailableResourceFinder,
            artifactIdentifierFileStore,
            new GradlePomModuleDescriptorParser(versionSelectorScheme),
            authenticationSchemeRegistry,
            ivyContextManager
    );
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:19,代码来源:DefaultDependencyManagementServices.java

示例3: GradleWagonMavenDeployAction

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public GradleWagonMavenDeployAction(File pomFile, MavenArtifactRepository artifactRepository, RepositoryTransportFactory repositoryTransportFactory) {
    super(pomFile, null);
    this.artifactRepository = artifactRepository;
    this.repositoryTransportFactory = repositoryTransportFactory;

    registerWagonProtocols();
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:8,代码来源:MavenRemotePublisher.java

示例4: DefaultIvyArtifactRepository

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public DefaultIvyArtifactRepository(FileResolver fileResolver, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder, Instantiator instantiator,
                                    FileStore<ModuleComponentArtifactIdentifier> artifactFileStore, AuthenticationContainer authenticationContainer,
                                    IvyContextManager ivyContextManager) {
    super(instantiator, authenticationContainer);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.artifactFileStore = artifactFileStore;
    this.additionalPatternsLayout = new AdditionalPatternsRepositoryLayout(fileResolver);
    this.layout = new GradleRepositoryLayout();
    this.metaDataProvider = new MetaDataProvider();
    this.instantiator = instantiator;
    this.ivyContextManager = ivyContextManager;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:16,代码来源:DefaultIvyArtifactRepository.java

示例5: DefaultMavenArtifactRepository

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public DefaultMavenArtifactRepository(FileResolver fileResolver, RepositoryTransportFactory transportFactory,
                                      LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder,
                                      Instantiator instantiator,
                                      FileStore<ModuleComponentArtifactIdentifier> artifactFileStore,
                                      MetaDataParser<MutableMavenModuleResolveMetadata> pomParser,
                                      AuthenticationContainer authenticationContainer) {
    super(instantiator, authenticationContainer);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.artifactFileStore = artifactFileStore;
    this.pomParser = pomParser;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:14,代码来源:DefaultMavenArtifactRepository.java

示例6: DefaultFlatDirArtifactRepository

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public DefaultFlatDirArtifactRepository(FileResolver fileResolver,
                                        RepositoryTransportFactory transportFactory,
                                        LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder,
                                        FileStore<ModuleComponentArtifactIdentifier> artifactFileStore, IvyContextManager ivyContextManager) {
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.artifactFileStore = artifactFileStore;
    this.ivyContextManager = ivyContextManager;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:11,代码来源:DefaultFlatDirArtifactRepository.java

示例7: createRepositoryTransportFactory

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
RepositoryTransportFactory createRepositoryTransportFactory(ProgressLoggerFactory progressLoggerFactory,
                                                            TemporaryFileProvider temporaryFileProvider,
                                                            ByUrlCachedExternalResourceIndex externalResourceIndex,
                                                            BuildCommencedTimeProvider buildCommencedTimeProvider,
                                                            CacheLockingManager cacheLockingManager,
                                                            ServiceRegistry serviceRegistry) {
    return new RepositoryTransportFactory(
        serviceRegistry.getAll(ResourceConnectorFactory.class),
        progressLoggerFactory,
        temporaryFileProvider,
        externalResourceIndex,
        buildCommencedTimeProvider,
        cacheLockingManager
    );
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:16,代码来源:DependencyManagementBuildScopeServices.java

示例8: DefaultIvyArtifactRepository

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public DefaultIvyArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder, Instantiator instantiator,
                                    ResolverStrategy resolverStrategy, FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    super(credentials);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
    this.artifactFileStore = artifactFileStore;
    this.additionalPatternsLayout = new AdditionalPatternsRepositoryLayout(fileResolver);
    this.layout = new GradleRepositoryLayout();
    this.metaDataProvider = new MetaDataProvider();
    this.instantiator = instantiator;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:15,代码来源:DefaultIvyArtifactRepository.java

示例9: DefaultBaseRepositoryFactory

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public DefaultBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator,
                                    FileResolver fileResolver,
                                    Instantiator instantiator,
                                    RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                    ResolverStrategy resolverStrategy,
                                    FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    this.localMavenRepositoryLocator = localMavenRepositoryLocator;
    this.fileResolver = fileResolver;
    this.instantiator = instantiator;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
    this.artifactFileStore = artifactFileStore;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:16,代码来源:DefaultBaseRepositoryFactory.java

示例10: DefaultMavenArtifactRepository

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public DefaultMavenArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                      LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                      FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    super(credentials);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.artifactFileStore = artifactFileStore;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:10,代码来源:DefaultMavenArtifactRepository.java

示例11: DefaultFlatDirArtifactRepository

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public DefaultFlatDirArtifactRepository(FileResolver fileResolver,
                                        RepositoryTransportFactory transportFactory,
                                        LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                        ResolverStrategy resolverStrategy,
                                        FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
    this.artifactFileStore = artifactFileStore;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:12,代码来源:DefaultFlatDirArtifactRepository.java

示例12: createRepositoryTransportFactory

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
RepositoryTransportFactory createRepositoryTransportFactory(ProgressLoggerFactory progressLoggerFactory,
                                                            TemporaryFileProvider temporaryFileProvider,
                                                            ByUrlCachedExternalResourceIndex externalResourceIndex,
                                                            BuildCommencedTimeProvider buildCommencedTimeProvider,
                                                            SftpClientFactory sftpClientFactory,
                                                            CacheLockingManager cacheLockingManager) {
    return new RepositoryTransportFactory(
            progressLoggerFactory,
            temporaryFileProvider,
            externalResourceIndex,
            buildCommencedTimeProvider,
            sftpClientFactory,
            cacheLockingManager
    );
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:16,代码来源:DependencyManagementBuildScopeServices.java

示例13: createBaseRepositoryFactory

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
BaseRepositoryFactory createBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator, Instantiator instantiator, FileResolver fileResolver,
                                                  RepositoryTransportFactory repositoryTransportFactory, LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                                  ResolverStrategy resolverStrategy, ArtifactIdentifierFileStore artifactIdentifierFileStore) {
    return new DefaultBaseRepositoryFactory(
            localMavenRepositoryLocator,
            fileResolver,
            instantiator,
            repositoryTransportFactory,
            locallyAvailableResourceFinder,
            resolverStrategy,
            artifactIdentifierFileStore
    );
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:14,代码来源:DefaultDependencyManagementServices.java

示例14: DefaultIvyArtifactRepository

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public DefaultIvyArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder, Instantiator instantiator,
                                    ResolverStrategy resolverStrategy) {
    super(credentials);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
    this.additionalPatternsLayout = new AdditionalPatternsRepositoryLayout(fileResolver);
    this.layout = new GradleRepositoryLayout();
    this.metaDataProvider = new MetaDataProvider();
    this.instantiator = instantiator;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:14,代码来源:DefaultIvyArtifactRepository.java

示例15: DefaultBaseRepositoryFactory

import org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory; //导入依赖的package包/类
public DefaultBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator,
                                    FileResolver fileResolver,
                                    Instantiator instantiator,
                                    RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                    LegacyDependencyResolverRepositoryFactory legacyDependencyResolverRepositoryFactory,
                                    ResolverStrategy resolverStrategy) {
    this.localMavenRepositoryLocator = localMavenRepositoryLocator;
    this.fileResolver = fileResolver;
    this.instantiator = instantiator;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.legacyDependencyResolverRepositoryFactory = legacyDependencyResolverRepositoryFactory;
    this.resolverStrategy = resolverStrategy;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:16,代码来源:DefaultBaseRepositoryFactory.java


注:本文中的org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。