gradle
8.6

# ExclusiveContentRepository

interface ExclusiveContentRepository(source)

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.

## Functions

filter
Link copied to clipboard
abstract fun filter(config: Action<out Any>): ExclusiveContentRepository
Defines the content filter for this repository
forRepositories
Link copied to clipboard
abstract fun forRepositories(repositories: Array<ArtifactRepository>): ExclusiveContentRepository
Declares the repository
forRepository
Link copied to clipboard
abstract fun forRepository(repository: Factory<out ArtifactRepository>): ExclusiveContentRepository
Declares the repository