gradle
8.5

# DependencyResolutionManagement

interface DependencyResolutionManagement(source)

Allows configuring dependency resolution for all projects of the build.

## Functions

components
Link copied to clipboard
abstract fun components(registration: Action<out Any>)
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<out Any>)
Configures the repositories used by all projects
versionCatalogs
Link copied to clipboard
abstract fun versionCatalogs(spec: Action<out Any>)
Configures the version catalogs which will be used to generate type safe accessors for dependencies.