Used to declare PluginRepository instances.
Plugin repositories added via this interface will used to resolve plugins specified
in the plugins {}
block.
Type | Name and description |
---|---|
GradlePluginPortal |
gradlePluginPortal() Adds the Gradle Plugin Portal (plugins.gradle.org) as a plugin repository. |
IvyPluginRepository |
ivy(Action<? super IvyPluginRepository> action) Adds and configures an IvyPluginRepository. |
MavenPluginRepository |
maven(Action<? super MavenPluginRepository> action) Adds and configures a MavenPluginRepository. |
Adds the Gradle Plugin Portal (plugins.gradle.org) as a plugin repository.
Adds and configures an IvyPluginRepository.
action
- The action to use to configure the repository.Adds and configures a MavenPluginRepository.
action
- The action to use to configure the repository.