Package org.gradle.plugin.management
Interface PluginManagementSpec
-
public interface PluginManagementSpecConfigures how plugins are resolved.- Since:
- 3.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PluginDependenciesSpecgetPlugins()The Plugin dependencies, permitting default plugin versions to be configured.RepositoryHandlergetRepositories()The plugin repositories to use.PluginResolutionStrategygetResolutionStrategy()The plugin resolution strategy.voidincludeBuild(java.lang.String rootProject)Includes a plugin build at the specified path to the composite build.voidincludeBuild(java.lang.String rootProject, Action<ConfigurableIncludedPluginBuild> configuration)Includes a plugin build at the specified path to the composite build, with the supplied configuration.voidplugins(Action<? super PluginDependenciesSpec> action)Configure the default plugin versions.voidrepositories(Action<? super RepositoryHandler> repositoriesAction)Defines the plugin repositories to use.voidresolutionStrategy(Action<? super PluginResolutionStrategy> action)Configure the plugin resolution strategy.
-
-
-
Method Detail
-
repositories
void repositories(Action<? super RepositoryHandler> repositoriesAction)
Defines the plugin repositories to use.
-
getRepositories
RepositoryHandler getRepositories()
The plugin repositories to use.
-
resolutionStrategy
void resolutionStrategy(Action<? super PluginResolutionStrategy> action)
Configure the plugin resolution strategy.
-
getResolutionStrategy
PluginResolutionStrategy getResolutionStrategy()
The plugin resolution strategy.
-
plugins
void plugins(Action<? super PluginDependenciesSpec> action)
Configure the default plugin versions.- Since:
- 5.6
-
getPlugins
PluginDependenciesSpec getPlugins()
The Plugin dependencies, permitting default plugin versions to be configured.- Since:
- 5.6
-
includeBuild
void includeBuild(java.lang.String rootProject)
Includes a plugin build at the specified path to the composite build. Included plugin builds can contribute settings and project plugins.- Parameters:
rootProject- The path to the root project directory for the build.- Since:
- 7.0
-
includeBuild
void includeBuild(java.lang.String rootProject, Action<ConfigurableIncludedPluginBuild> configuration)Includes a plugin build at the specified path to the composite build, with the supplied configuration. Included plugin builds can contribute settings and project plugins.- Parameters:
rootProject- The path to the root project directory for the build.configuration- An action to configure the included build.- Since:
- 7.0
-
-