Interface IvyArtifact

All Superinterfaces:
Buildable, PublicationArtifact

public interface IvyArtifact extends PublicationArtifact
An artifact published as part of a IvyPublication.
  • Method Details

    • getName

      Property<String> getName()
      The name used to publish the artifact file. Defaults to the name of the module that this artifact belongs to.
    • setName

      void setName(String name)
      Sets the name used to publish the artifact file.
      Parameters:
      name - The name.
    • getType

      Property<String> getType()
      The type used to publish the artifact file.
    • setType

      void setType(String type)
      Sets the type used to publish the artifact file.
      Parameters:
      type - The type.
    • getExtension

      Property<String> getExtension()
      The extension used to publish the artifact file. For an artifact without an extension, this value will be an empty String.
    • setExtension

      void setExtension(String extension)
      Sets the extension used to publish the artifact file.
      Parameters:
      extension - The extension.
    • getClassifier

      @Optional Property<String> getClassifier()
      The classifier used to publish the artifact file. An absent value (the default) indicates that this artifact will be published without a classifier.
    • setClassifier

      void setClassifier(@Nullable String classifier)
      Sets the classifier used to publish the artifact file.
      Parameters:
      classifier - The classifier.
    • getConf

      A comma separated list of public configurations in which this artifact is published. The '*' wildcard is used to designate that the artifact is published in all public configurations. An optional value (the default) indicates that this artifact will be published without a conf attribute.
    • setConf

      void setConf(@Nullable String conf)
      Sets a comma separated list of public configurations in which this artifact is published. The '*' wildcard can be used to designate that the artifact is published in all public configurations.
      Parameters:
      conf - The value of 'conf' for this artifact.