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.
      • artifact

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