Package org.gradle.api.publish.ivy
Interface IvyArtifact
- All Superinterfaces:
- Buildable,- PublicationArtifact
An artifact published as part of a 
IvyPublication.- 
Method SummaryModifier and TypeMethodDescriptionThe classifier used to publish the artifact file.getConf()A comma separated list of public configurations in which this artifact is published.The extension used to publish the artifact file, nevernull.getName()The name used to publish the artifact file, nevernull.getType()The type used to publish the artifact file, nevernull.voidsetClassifier(String classifier) Sets the classifier used to publish the artifact file.voidSets a comma separated list of public configurations in which this artifact is published.voidsetExtension(String extension) Sets the extension used to publish the artifact file.voidSets the name used to publish the artifact file.voidSets the type used to publish the artifact file.Methods inherited from interface org.gradle.api.BuildablegetBuildDependenciesMethods inherited from interface org.gradle.api.publish.PublicationArtifactbuiltBy, getFile
- 
Method Details- 
getNameString getName()The name used to publish the artifact file, nevernull. Defaults to the name of the module that this artifact belongs to.
- 
setNameSets the name used to publish the artifact file.- Parameters:
- name- The name.
 
- 
getTypeString getType()The type used to publish the artifact file, nevernull.
- 
setTypeSets the type used to publish the artifact file.- Parameters:
- type- The type.
 
- 
getExtensionString getExtension()The extension used to publish the artifact file, nevernull. For an artifact without an extension, this value will be an empty String.
- 
setExtensionSets the extension used to publish the artifact file.- Parameters:
- extension- The extension.
 
- 
getClassifierThe classifier used to publish the artifact file. Anullvalue (the default) indicates that this artifact will be published without a classifier.
- 
setClassifierSets the classifier used to publish the artifact file.- Parameters:
- classifier- The classifier.
 
- 
getConfA 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. Anullvalue (the default) indicates that this artifact will be published without a conf attribute.- Returns:
- The value of 'conf' for this artifact.
 
- 
setConfSets 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.
 
 
-