# PluginManagementSpec

@ServiceScope(value = Settings::class)
interface PluginManagementSpec

Configures how plugins are resolved.

#### Since

3.5

## Functions

getPlugins
Link copied to clipboard
abstract fun getPlugins(): PluginDependenciesSpec
The Plugin dependencies, permitting default plugin versions to be configured.
getRepositories
Link copied to clipboard
abstract fun getRepositories(): RepositoryHandler
The plugin repositories to use.
getResolutionStrategy
Link copied to clipboard
abstract fun getResolutionStrategy(): PluginResolutionStrategy
The plugin resolution strategy.
includeBuild
Link copied to clipboard
abstract fun includeBuild(rootProject: String)
Includes a plugin build at the specified path to the composite build.
abstract fun includeBuild(rootProject: String, configuration: Action<ConfigurableIncludedPluginBuild>)
Includes a plugin build at the specified path to the composite build, with the supplied configuration.
plugins
Link copied to clipboard
abstract fun plugins(action: Action<in PluginDependenciesSpec>)
Configure the default plugin versions.
repositories
Link copied to clipboard
abstract fun repositories(repositoriesAction: Action<in RepositoryHandler>)
Defines the plugin repositories to use.
resolutionStrategy
Link copied to clipboard
abstract fun resolutionStrategy(action: Action<in PluginResolutionStrategy>)
Configure the plugin resolution strategy.