Interface DependencyResolutionManagement
public interface DependencyResolutionManagement
Allows configuring dependency resolution for all projects of the build.
- Since:
- 6.8
-
Method Summary
Modifier and TypeMethodDescriptionvoidcomponents(Action<? super ComponentMetadataHandler> registration) Registers component metadata rules used by all projectsReturns the shared component metadata handlerReturns the name of the extension generated by default from the TOML dependencies file if found.Returns the name of the extension generated for type-safe project accessors.Returns the shared repository handlerReturns the repositories mode.Returns the rules mode.Returns the configurable version catalogs.voidrepositories(Action<? super RepositoryHandler> repositoryConfiguration) Configures the repositories used by all projectsvoidversionCatalogs(Action<? super MutableVersionCatalogContainer> spec) Configures the version catalogs which will be used to generate type safe accessors for dependencies.
-
Method Details
-
repositories
Configures the repositories used by all projects- Parameters:
repositoryConfiguration- the repositories configuration- Since:
- 6.8
-
getRepositories
-
getRepositoriesMode
Returns the repositories mode.- Since:
- 6.8
-
components
Registers component metadata rules used by all projects- Parameters:
registration- the registration action- Since:
- 6.8
-
getRulesMode
-
getComponents
-
versionCatalogs
Configures the version catalogs which will be used to generate type safe accessors for dependencies.- Parameters:
spec- the spec to configure the dependencies- Since:
- 7.0
-
getVersionCatalogs
MutableVersionCatalogContainer getVersionCatalogs()Returns the configurable version catalogs.- Since:
- 7.0
-
getDefaultProjectsExtensionName
-
getDefaultLibrariesExtensionName
-