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

    Modifier and Type
    Method
    Description
    void
    Indicates that this repository may not contain metadata files, but we can infer it from the presence of an artifact file.
    void
    Indicates that this repository will contain Gradle metadata.
    void
    Indicates that this repository will contain Maven POM files.
  • Method Details

    • gradleMetadata

      void gradleMetadata()
      Indicates that this repository will contain Gradle metadata.
    • mavenPom

      void mavenPom()
      Indicates that this repository will contain Maven POM files.
    • artifact

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