Java Code Examples for org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory

The following examples show how to use org.gradle.api.internal.artifacts.repositories.transport.RepositoryTransportFactory. These examples are extracted from open source projects. 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
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;
}
 
Example 2
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;
}
 
Example 3
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;
}
 
Example 4
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;
}
 
Example 5
RepositoryTransportFactory createRepositoryTransportFactory(ProgressLoggerFactory progressLoggerFactory,
                                                            TemporaryFileProvider temporaryFileProvider,
                                                            ByUrlCachedExternalResourceIndex externalResourceIndex,
                                                            BuildCommencedTimeProvider buildCommencedTimeProvider,
                                                            SftpClientFactory sftpClientFactory,
                                                            CacheLockingManager cacheLockingManager) {
    return new RepositoryTransportFactory(
            progressLoggerFactory,
            temporaryFileProvider,
            externalResourceIndex,
            buildCommencedTimeProvider,
            sftpClientFactory,
            cacheLockingManager
    );
}
 
Example 6
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
    );
}
 
Example 7
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;
}
 
Example 8
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;
}
 
Example 9
public DefaultMavenArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                      LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                      ResolverStrategy resolverStrategy) {
    super(credentials);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
}
 
Example 10
public DefaultFlatDirArtifactRepository(FileResolver fileResolver,
                                        RepositoryTransportFactory transportFactory,
                                        LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                        ResolverStrategy resolverStrategy) {
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
}
 
Example 11
RepositoryTransportFactory createRepositoryTransportFactory(ProgressLoggerFactory progressLoggerFactory, LocalFileRepositoryArtifactCache localFileRepositoryArtifactCache,
                                                            DownloadingRepositoryArtifactCache downloadingRepositoryArtifactCache, TemporaryFileProvider temporaryFileProvider,
                                                            ByUrlCachedExternalResourceIndex externalResourceIndex, BuildCommencedTimeProvider buildCommencedTimeProvider) {
    return new RepositoryTransportFactory(
            progressLoggerFactory,
            localFileRepositoryArtifactCache,
            downloadingRepositoryArtifactCache,
            temporaryFileProvider,
            externalResourceIndex,
            buildCommencedTimeProvider
    );
}
 
Example 12
BaseRepositoryFactory createBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator, Instantiator instantiator, FileResolver fileResolver,
                                                  RepositoryTransportFactory repositoryTransportFactory, LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                                  LegacyDependencyResolverRepositoryFactory legacyDependencyResolverRepositoryFactory,
                                                  ResolverStrategy resolverStrategy) {
    return new DefaultBaseRepositoryFactory(
            localMavenRepositoryLocator,
            fileResolver,
            instantiator,
            repositoryTransportFactory,
            locallyAvailableResourceFinder,
            legacyDependencyResolverRepositoryFactory,
            resolverStrategy
    );
}
 
Example 13
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;
}
 
Example 14
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;
}
 
Example 15
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;
}
 
Example 16
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;
}
 
Example 17
RepositoryTransportFactory createRepositoryTransportFactory(ProgressLoggerFactory progressLoggerFactory,
                                                            TemporaryFileProvider temporaryFileProvider,
                                                            ByUrlCachedExternalResourceIndex externalResourceIndex,
                                                            BuildCommencedTimeProvider buildCommencedTimeProvider,
                                                            SftpClientFactory sftpClientFactory,
                                                            CacheLockingManager cacheLockingManager) {
    return new RepositoryTransportFactory(
            progressLoggerFactory,
            temporaryFileProvider,
            externalResourceIndex,
            buildCommencedTimeProvider,
            sftpClientFactory,
            cacheLockingManager
    );
}
 
Example 18
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
    );
}
 
Example 19
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;
}
 
Example 20
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;
}
 
Example 21
public DefaultMavenArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                      LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                      ResolverStrategy resolverStrategy) {
    super(credentials);
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
}
 
Example 22
public DefaultFlatDirArtifactRepository(FileResolver fileResolver,
                                        RepositoryTransportFactory transportFactory,
                                        LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                        ResolverStrategy resolverStrategy) {
    this.fileResolver = fileResolver;
    this.transportFactory = transportFactory;
    this.locallyAvailableResourceFinder = locallyAvailableResourceFinder;
    this.resolverStrategy = resolverStrategy;
}
 
Example 23
RepositoryTransportFactory createRepositoryTransportFactory(ProgressLoggerFactory progressLoggerFactory, LocalFileRepositoryArtifactCache localFileRepositoryArtifactCache,
                                                            DownloadingRepositoryArtifactCache downloadingRepositoryArtifactCache, TemporaryFileProvider temporaryFileProvider,
                                                            ByUrlCachedExternalResourceIndex externalResourceIndex, BuildCommencedTimeProvider buildCommencedTimeProvider) {
    return new RepositoryTransportFactory(
            progressLoggerFactory,
            localFileRepositoryArtifactCache,
            downloadingRepositoryArtifactCache,
            temporaryFileProvider,
            externalResourceIndex,
            buildCommencedTimeProvider
    );
}
 
Example 24
BaseRepositoryFactory createBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator, Instantiator instantiator, FileResolver fileResolver,
                                                  RepositoryTransportFactory repositoryTransportFactory, LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                                  LegacyDependencyResolverRepositoryFactory legacyDependencyResolverRepositoryFactory,
                                                  ResolverStrategy resolverStrategy) {
    return new DefaultBaseRepositoryFactory(
            localMavenRepositoryLocator,
            fileResolver,
            instantiator,
            repositoryTransportFactory,
            locallyAvailableResourceFinder,
            legacyDependencyResolverRepositoryFactory,
            resolverStrategy
    );
}
 
Example 25
public DefaultMavenLocalArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                    FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    super(fileResolver, credentials, transportFactory, locallyAvailableResourceFinder, artifactFileStore);
}
 
Example 26
public DefaultMavenLocalArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                    ResolverStrategy resolverStrategy) {
    super(fileResolver, credentials, transportFactory, locallyAvailableResourceFinder, resolverStrategy);
}
 
Example 27
Source Project: atlas   Source File: PublishToMavenRepositoryHook.java    License: Apache License 2.0 4 votes vote down vote up
@Inject
protected RepositoryTransportFactory getRepositoryTransportFactory() {
    throw new UnsupportedOperationException();
}
 
Example 28
public DefaultMavenLocalArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                                    FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    super(fileResolver, credentials, transportFactory, locallyAvailableResourceFinder, artifactFileStore);
}
 
Example 29
public DefaultMavenLocalArtifactRepository(FileResolver fileResolver, PasswordCredentials credentials, RepositoryTransportFactory transportFactory,
                                    LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                                    ResolverStrategy resolverStrategy) {
    super(fileResolver, credentials, transportFactory, locallyAvailableResourceFinder, resolverStrategy);
}