PluginRepositoriesSpec (Gradle API 2.14.1)

Package: org.gradle.plugin.repository

## [Java] Interface PluginRepositoriesSpec

- Used to declare PluginRepository instances.

  Plugin repositories added via this interface will used to resolve plugins specified in the `plugins {}` block.

- - ### Methods Summary

    Methods
    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.

- - ### Method Detail

    - #### public GradlePluginPortal gradlePluginPortal()

      Adds the Gradle Plugin Portal (plugins.gradle.org) as a plugin repository.

      throws:
        IllegalArgumentException if called more than once.
      Returns:
        The added repository.

    - #### public IvyPluginRepository ivy(Action<? super IvyPluginRepository> action)

      Adds and configures an IvyPluginRepository.

      Parameters:
        `action` - The action to use to configure the repository.
      Returns:
        the added repository.

    - #### public MavenPluginRepository maven(Action<? super MavenPluginRepository> action)

      Adds and configures a MavenPluginRepository.

      Parameters:
        `action` - The action to use to configure the repository.
      Returns:
        The added repository.