For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

PluginManagementSpec

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

Configures how plugins are resolved.

Since

3.5

Functions

Link copied to clipboard
The Plugin dependencies, permitting default plugin versions to be configured.
Link copied to clipboard
The plugin repositories to use.
Link copied to clipboard
The plugin resolution strategy.
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.
Link copied to clipboard
abstract fun plugins(action: Action<in PluginDependenciesSpec>)
Configure the default plugin versions.
Link copied to clipboard
abstract fun repositories(repositoriesAction: Action<in RepositoryHandler>)
Defines the plugin repositories to use.
Link copied to clipboard
Configure the plugin resolution strategy.