Schnittstelle 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.
- Seit:
- 6.2
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfilter(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
-
Methodendetails
-
forRepository
ExclusiveContentRepository forRepository(org.gradle.internal.Factory<? extends ArtifactRepository> repository) Declares the repository- Parameter:
repository- the repository for which we declare exclusive content- Gibt zurück:
- this repository descriptor
-
forRepositories
Declares the repository- Parameter:
repositories- the repositories for which we declare exclusive content- Gibt zurück:
- this repository descriptor
-
filter
Defines the content filter for this repository- Parameter:
config- the configuration of the filter- Gibt zurück:
- this repository descriptor
-