Schnittstelle IvyArtifactRepository.MetadataSources

Umschließende Schnittstelle:
IvyArtifactRepository

public static interface IvyArtifactRepository.MetadataSources
Allows configuring the sources of metadata for a specific repository.
Seit:
4.5
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    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 ignore Gradle module metadata redirection markers found in Ivy files.
    boolean
    Indicates if this repository only contains artifacts.
    boolean
    Indicates if this repository contains Gradle module metadata.
    boolean
    Indicates if this repository ignores Gradle module metadata redirection markers.
    boolean
    Indicates if this repository contains Ivy descriptors.
    void
    Indicates that this repository will contain Ivy descriptors.
  • Methodendetails

    • 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. Gradle module metadata redirection will not happen if ignoreGradleMetadataRedirection() has been used.
    • artifact

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

      void ignoreGradleMetadataRedirection()
      Indicates that this repository will ignore Gradle module metadata redirection markers found in Ivy files.
      Seit:
      5.6
    • isGradleMetadataEnabled

      boolean isGradleMetadataEnabled()
      Indicates if this repository contains Gradle module metadata.
      Seit:
      6.4
    • isIvyDescriptorEnabled

      boolean isIvyDescriptorEnabled()
      Indicates if this repository contains Ivy descriptors.
      Seit:
      6.4
    • isArtifactEnabled

      boolean isArtifactEnabled()
      Indicates if this repository only contains artifacts.
      Seit:
      6.4
    • isIgnoreGradleMetadataRedirectionEnabled

      boolean isIgnoreGradleMetadataRedirectionEnabled()
      Indicates if this repository ignores Gradle module metadata redirection markers.
      Seit:
      6.4