API Documentation: | PluginRepositoriesSpec |
---|
Note: This class is incubating and may change in a future version of Gradle.
Used to declare PluginRepository
instances.
Plugin repositories added via this interface will used to resolve plugins specified
in the plugins {}
block.
Method | Description |
gradlePluginPortal() | Incubating Adds the Gradle Plugin Portal (plugins.gradle.org) as a plugin repository. |
ivy(action) | Incubating Adds and configures an |
maven(action) | Incubating Adds and configures a |
GradlePluginPortal
gradlePluginPortal
()
Note: This method is incubating and may change in a future version of Gradle.
Adds the Gradle Plugin Portal (plugins.gradle.org) as a plugin repository.
IvyPluginRepository
ivy
(Action
<? super IvyPluginRepository
>
action)
Action
<? super IvyPluginRepository
>Note: This method is incubating and may change in a future version of Gradle.
Adds and configures an IvyPluginRepository
.
MavenPluginRepository
maven
(Action
<? super MavenPluginRepository
>
action)
Action
<? super MavenPluginRepository
>Note: This method is incubating and may change in a future version of Gradle.
Adds and configures a MavenPluginRepository
.