# DependencyResolutionManagement

interface DependencyResolutionManagement(source)

Allows configuring dependency resolution for all projects of the build.

#### Since

6.8

## Functions

components
Link copied to clipboard
abstract fun components(registration: Action<in ComponentMetadataHandler>)
Registers component metadata rules used by all projects
getComponents
Link copied to clipboard
abstract fun getComponents(): ComponentMetadataHandler
Returns the shared component metadata handler
getDefaultLibrariesExtensionName
Link copied to clipboard
abstract fun getDefaultLibrariesExtensionName(): Property<String>
Returns the name of the extension generated by default from the TOML dependencies file if found.
getDefaultProjectsExtensionName
Link copied to clipboard
abstract fun getDefaultProjectsExtensionName(): Property<String>
Returns the name of the extension generated for type-safe project accessors.
getRepositories
Link copied to clipboard
@Incubating
abstract fun getRepositories(): RepositoryHandler
Returns the shared repository handler
getRepositoriesMode
Link copied to clipboard
@Incubating
abstract fun getRepositoriesMode(): Property<RepositoriesMode>
getRulesMode
Link copied to clipboard
abstract fun getRulesMode(): Property<RulesMode>
getVersionCatalogs
Link copied to clipboard
abstract fun getVersionCatalogs(): MutableVersionCatalogContainer
Returns the configurable version catalogs.
repositories
Link copied to clipboard
@Incubating
abstract fun repositories(repositoryConfiguration: Action<in RepositoryHandler>)
Configures the repositories used by all projects
versionCatalogs
Link copied to clipboard
abstract fun versionCatalogs(spec: Action<in MutableVersionCatalogContainer>)
Configures the version catalogs which will be used to generate type safe accessors for dependencies.