Package: org.gradle.plugin.repository

## [Java] Interface MavenPluginRepository

- org.gradle.api.artifacts.repositories.AuthenticationSupported

- All Superinterfaces:
    PluginRepository, AuthenticationSupported

  Represents a Maven repository which contains Gradle plugins.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `URI` | `getUrl()` The base URL of this repository.
    `void` | `setUrl(Object url)` Sets the base URL of this repository.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface AuthenticationSupported` | `authentication, credentials, credentials, getAuthentication, getCredentials, getCredentials`

- - ### Method Detail

    - #### public URI getUrl()

      The base URL of this repository. This URL is used to find Gradle plugins.

      Returns:
        The URL.

    - #### public void setUrl(Object url)

      Sets the base URL of this repository. This URL is used to find Gradle plugins.

      The provided value is evaluated relative to the build's directory. This means, for example, you can pass in a `File` object, or a relative path to be evaluated relative to the directory of the `settings.gradle` file in which this repository is declared.

      Parameters:
        `url` - The base URL.