@Incubating public interface PluginRepositoriesSpec
PluginRepository
instances.
Plugin repositories added via this interface will used to resolve plugins specified
in the plugins {}
block.
Modifier and Type | Method | 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 . |
MavenPluginRepository maven(Action<? super MavenPluginRepository> action)
MavenPluginRepository
.action
- The action to use to configure the repository.IvyPluginRepository ivy(Action<? super IvyPluginRepository> action)
IvyPluginRepository
.action
- The action to use to configure the repository.GradlePluginPortal gradlePluginPortal()
IllegalArgumentException
- if called more than once.