Package org.gradle.plugin.management
Interface PluginManagementSpec
@ServiceScope(org.gradle.internal.service.scopes.Scope.Settings.class)
public interface PluginManagementSpec
Configures how plugins are resolved.
- Since:
- 3.5
- 
Method SummaryModifier and TypeMethodDescriptionThe Plugin dependencies, permitting default plugin versions to be configured.The plugin repositories to use.The plugin resolution strategy.voidincludeBuild(String rootProject) Includes a plugin build at the specified path to the composite build.voidincludeBuild(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 Details- 
repositoriesDefines the plugin repositories to use.
- 
getRepositoriesRepositoryHandler getRepositories()The plugin repositories to use.
- 
resolutionStrategyConfigure the plugin resolution strategy.
- 
getResolutionStrategyPluginResolutionStrategy getResolutionStrategy()The plugin resolution strategy.
- 
pluginsConfigure the default plugin versions.- Since:
- 5.6
 
- 
getPluginsPluginDependenciesSpec getPlugins()The Plugin dependencies, permitting default plugin versions to be configured.- Since:
- 5.6
 
- 
includeBuildIncludes 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
 
- 
includeBuildIncludes 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
 
 
-