Interface ExclusiveContentRepository
public interface ExclusiveContentRepository
Describes one or more repositories which together constitute the only possible
 source for an artifact, independently of the others.
 This means that if a repository declares an include, other repositories will
 automatically exclude it.
- Since:
- 6.2
- 
Method SummaryModifier and TypeMethodDescriptionfilter(Action<? super InclusiveRepositoryContentDescriptor> config) Defines the content filter for this repositoryforRepositories(ArtifactRepository... repositories) Declares the repositoryforRepository(org.gradle.internal.Factory<? extends ArtifactRepository> repository) Declares the repository
- 
Method Details- 
forRepositoryExclusiveContentRepository forRepository(org.gradle.internal.Factory<? extends ArtifactRepository> repository) Declares the repository- Parameters:
- repository- the repository for which we declare exclusive content
- Returns:
- this repository descriptor
 
- 
forRepositoriesDeclares the repository- Parameters:
- repositories- the repositories for which we declare exclusive content
- Returns:
- this repository descriptor
 
- 
filterDefines the content filter for this repository- Parameters:
- config- the configuration of the filter
- Returns:
- this repository descriptor
 
 
-