本文整理汇总了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;
}
示例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
);
}
示例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();
}
示例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;
}
示例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;
}
示例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;
}
示例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
);
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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
);
}
示例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
);
}
示例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;
}
示例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;
}