@Incubating public interface DependencyResolutionManagement
Modifier and Type | Method | Description |
---|---|---|
void |
components(Action<? super ComponentMetadataHandler> registration) |
Registers component metadata rules used by all projects
|
ComponentMetadataHandler |
getComponents() |
Returns the shared component metadata handler
|
Property<String> |
getDefaultLibrariesExtensionName() |
Returns the name of the extension generated by default from the TOML dependencies
file if found.
|
Property<String> |
getDefaultProjectsExtensionName() |
Returns the name of the extension generated for type-safe project accessors.
|
RepositoryHandler |
getRepositories() |
Returns the shared repository handler
|
Property<RepositoriesMode> |
getRepositoriesMode() |
|
Property<RulesMode> |
getRulesMode() |
|
MutableVersionCatalogContainer |
getVersionCatalogs() |
Returns the configurable version catalogs.
|
void |
repositories(Action<? super RepositoryHandler> repositoryConfiguration) |
Configures the repositories used by all projects
|
void |
versionCatalogs(Action<? super MutableVersionCatalogContainer> spec) |
Configures the version catalogs which will be used to generate type safe accessors for dependencies.
|
void repositories(Action<? super RepositoryHandler> repositoryConfiguration)
repositoryConfiguration
- the repositories configurationRepositoryHandler getRepositories()
Property<RepositoriesMode> getRepositoriesMode()
void components(Action<? super ComponentMetadataHandler> registration)
registration
- the registration actionComponentMetadataHandler getComponents()
void versionCatalogs(Action<? super MutableVersionCatalogContainer> spec)
spec
- the spec to configure the dependenciesMutableVersionCatalogContainer getVersionCatalogs()
Property<String> getDefaultProjectsExtensionName()