Package org.gradle.api.artifacts
Interface DependencyArtifact
public interface DependencyArtifact
Data class that represents an artifact included in a 
Dependency.- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionReturns the classifier of this artifact.Returns the extension of this artifact.getName()Returns the name of this artifact.getType()Returns the type of this artifact.getUrl()Returns a URL under which this artifact can be retrieved.voidsetClassifier(String classifier) Sets the classifier of this artifact.voidsetExtension(String extension) Sets the extension of this artifact.voidSets the name of this artifact.voidSets the type of this artifact.voidSets the URL for this artifact.
- 
Field Details- 
DEFAULT_TYPE- See Also:
 
 
- 
- 
Method Details- 
getNameString getName()Returns the name of this artifact.
- 
setNameSets the name of this artifact.
- 
getTypeString getType()Returns the type of this artifact. Often the type is the same as the extension, but sometimes this is not the case. For example for an ivy XML module descriptor, the type is ivy and the extension is xml.- See Also:
 
- 
setTypeSets the type of this artifact.
- 
getExtensionReturns the extension of this artifact. Often the extension is the same as the type, but sometimes this is not the case. For example for an ivy XML module descriptor, the type is ivy and the extension is xml.- See Also:
 
- 
setExtensionSets the extension of this artifact.
- 
getClassifierReturns the classifier of this artifact.
- 
setClassifierSets the classifier of this artifact.
- 
getUrlReturns a URL under which this artifact can be retrieved. If not specified the user repositories are used for retrieving.
- 
setUrlSets the URL for this artifact.
 
-