RepositoryContentDescriptor

Descriptor of a repository content, used to avoid reaching to an external repository when not needed.

Excludes are applied after includes. This means that by default, everything is included and nothing excluded. If includes are added, then if the module doesn't match any of the includes, it's excluded. Then if it does, but it also matches one of the excludes, it's also excluded.

Since

5.1

Inheritors

Functions

Link copied to clipboard
abstract fun excludeGroup(group: String)
Declares that an entire group shouldn't be searched for in this repository.
Link copied to clipboard
abstract fun excludeGroupAndSubgroups(groupPrefix: String)
Declares that an entire group and its subgroups shouldn't be searched for in this repository.
Link copied to clipboard
abstract fun excludeGroupByRegex(groupRegex: String)
Declares that an entire group shouldn't be searched for in this repository.
Link copied to clipboard
abstract fun excludeModule(group: String, moduleName: String)
Declares that an entire module shouldn't be searched for in this repository.
Link copied to clipboard
abstract fun excludeModuleByRegex(groupRegex: String, moduleNameRegex: String)
Declares that an entire module shouldn't be searched for in this repository, using regular expressions.
Link copied to clipboard
abstract fun excludeVersion(group: String, moduleName: String, version: String)
Declares that a specific module version shouldn't be searched for in this repository.
Link copied to clipboard
abstract fun excludeVersionByRegex(groupRegex: String, moduleNameRegex: String, versionRegex: String)
Declares that a specific module version shouldn't be searched for in this repository, using regular expressions.
Link copied to clipboard
abstract fun includeGroup(group: String)
Link copied to clipboard
abstract fun includeGroupAndSubgroups(groupPrefix: String)
Link copied to clipboard
abstract fun includeGroupByRegex(groupRegex: String)
Link copied to clipboard
abstract fun includeModule(group: String, moduleName: String)
Link copied to clipboard
abstract fun includeModuleByRegex(groupRegex: String, moduleNameRegex: String)
Link copied to clipboard
abstract fun includeVersion(group: String, moduleName: String, version: String)
Link copied to clipboard
abstract fun includeVersionByRegex(groupRegex: String, moduleNameRegex: String, versionRegex: String)
Link copied to clipboard
abstract fun notForConfigurations(configurationNames: Array<String>)
Declares that this repository should not be used for a specific set of configurations.
Link copied to clipboard
abstract fun <T> onlyForAttribute(attribute: Attribute<T>, validValues: Array<T>)
Declares that this repository will only be searched if the consumer requires a specific attribute.
Link copied to clipboard
abstract fun onlyForConfigurations(configurationNames: Array<String>)
Declares that this repository should only be used for a specific set of configurations.