# InclusiveRepositoryContentDescriptor

interface InclusiveRepositoryContentDescriptor(source)

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

Only inclusions can be defined at this level (cross-repository content). Excludes need to be defined per-repository using RepositoryContentDescriptor. Similarly to declaring includes on specific repositories via content, inclusions are extensive, meaning that anything which doesn't match the includes will be considered missing from the repository.

#### Since

6.2

#### Inheritors

RepositoryContentDescriptor

## Functions

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.