Package org.gradle.api.artifacts.repositories

## Interface MavenArtifactRepository.MetadataSources

- Enclosing interface:
    MavenArtifactRepository

      @Incubating
      public static interface MavenArtifactRepository.MetadataSources

  Allows configuring the sources of metadata for a specific repository.
  Since:
    4.5

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `artifact()` | Indicates that this repository may not contain metadata files, but we can infer it from the presence of an artifact file.
    `void` | `gradleMetadata()` | Indicates that this repository will contain Gradle metadata.
    `void` | `mavenPom()` | Indicates that this repository will contain Maven POM files.

- - ### Method Detail

    - #### gradleMetadata

          void gradleMetadata()

      Indicates that this repository will contain Gradle metadata.

    - #### mavenPom

          void mavenPom()

      Indicates that this repository will contain Maven POM files. If the POM file contains a marker telling that Gradle metadata exists for this component, Gradle will also look for the Gradle metadata file.

    - #### artifact

          void artifact()

      Indicates that this repository may not contain metadata files, but we can infer it from the presence of an artifact file.