@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.
|
Property<RepositoriesMode> |
getRepositoriesMode() |
|
Property<RulesMode> |
getRulesMode() |
|
void |
repositories(Action<? super RepositoryHandler> repositoryConfiguration) |
Configures the repositories used by all projects
|
void |
versionCatalog(String name,
Action<? super VersionCatalogBuilder> spec) |
Configures a version catalog which will be used to generate type safe accessors for dependencies.
|
void repositories(Action<? super RepositoryHandler> repositoryConfiguration)
repositoryConfiguration - the repositories configurationProperty<RepositoriesMode> getRepositoriesMode()
void components(Action<? super ComponentMetadataHandler> registration)
registration - the registration actionComponentMetadataHandler getComponents()
void versionCatalog(String name, Action<? super VersionCatalogBuilder> spec)
name - the name of the extension which is going to be generated for this modelspec - the spec to configure the dependenciesProperty<String> getDefaultProjectsExtensionName()