# MavenRepositoryContentDescriptor

interface MavenRepositoryContentDescriptor : RepositoryContentDescriptor(source)

Extends the repository content descriptor with Maven repositories specific options.

#### Since

5.1

## Functions

excludeGroup
Link copied to clipboard
abstract fun excludeGroup(group: String)
Declares that an entire group shouldn't be searched for in this repository.
excludeGroupAndSubgroups
Link copied to clipboard
@Incubating
abstract fun excludeGroupAndSubgroups(groupPrefix: String)
Declares that an entire group and its subgroups shouldn't be searched for in this repository.
excludeGroupByRegex
Link copied to clipboard
abstract fun excludeGroupByRegex(groupRegex: String)
Declares that an entire group shouldn't be searched for in this repository.
excludeModule
Link copied to clipboard
abstract fun excludeModule(group: String, moduleName: String)
Declares that an entire module shouldn't be searched for in this repository.
excludeModuleByRegex
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.
excludeVersion
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.
excludeVersionByRegex
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.
includeGroup
Link copied to clipboard
abstract fun includeGroup(group: String)
Declares that an entire group should be searched for in this repository.
includeGroupAndSubgroups
Link copied to clipboard
@Incubating
abstract fun includeGroupAndSubgroups(groupPrefix: String)
Declares that an entire group and its subgroups should be searched for in this repository.
includeGroupByRegex
Link copied to clipboard
abstract fun includeGroupByRegex(groupRegex: String)
Declares that an entire group should be searched for in this repository.
includeModule
Link copied to clipboard
abstract fun includeModule(group: String, moduleName: String)
Declares that an entire module should be searched for in this repository.
includeModuleByRegex
Link copied to clipboard
abstract fun includeModuleByRegex(groupRegex: String, moduleNameRegex: String)
Declares that an entire module should be searched for in this repository, using regular expressions.
includeVersion
Link copied to clipboard
abstract fun includeVersion(group: String, moduleName: String, version: String)
Declares that a specific module version should be searched for in this repository.
includeVersionByRegex
Link copied to clipboard
abstract fun includeVersionByRegex(groupRegex: String, moduleNameRegex: String, versionRegex: String)
Declares that a specific module version should be searched for in this repository, using regular expressions.
notForConfigurations
Link copied to clipboard
abstract fun notForConfigurations(@Nullable configurationNames: Array<@Nullable String>)
Declares that this repository should not be used for a specific set of configurations.
onlyForAttribute
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.
onlyForConfigurations
Link copied to clipboard
abstract fun onlyForConfigurations(@Nullable configurationNames: Array<@Nullable String>)
Declares that this repository should only be used for a specific set of configurations.
releasesOnly
Link copied to clipboard
abstract fun releasesOnly()
Declares that this repository only contains releases.
snapshotsOnly
Link copied to clipboard
abstract fun snapshotsOnly()
Declares that this repository only contains snapshots.