Package org.gradle.api.artifacts.repositories

## Interface IvyArtifactRepository.MetadataSources

- Enclosing interface:
    IvyArtifactRepository

      @Incubating
      public static interface IvyArtifactRepository.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` | `ivyDescriptor()` | Indicates that this repository will contain Ivy descriptors.

- - ### Method Detail

    - #### gradleMetadata

          void gradleMetadata()

      Indicates that this repository will contain Gradle metadata.

    - #### ivyDescriptor

          void ivyDescriptor()

      Indicates that this repository will contain Ivy descriptors. If the Ivy 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.