Package org.gradle.api.artifacts
Interface ConfigurablePublishArtifact
- All Superinterfaces:
- Buildable,- PublishArtifact
A 
PublishArtifact whose properties can be modified.- 
Method SummaryModifier and TypeMethodDescriptionRegisters some tasks which build this artifact.voidsetClassifier(@Nullable 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.Methods inherited from interface org.gradle.api.BuildablegetBuildDependenciesMethods inherited from interface org.gradle.api.artifacts.PublishArtifactgetClassifier, getDate, getExtension, getFile, getName, getType
- 
Method Details- 
setNameSets the name of this artifact.- Parameters:
- name- The name. Should not be null.
 
- 
setExtensionSets the extension of this artifact.- Parameters:
- extension- The extension. Should not be null.
 
- 
setTypeSets the type of this artifact.- Parameters:
- type- The type. Should not be null.
 
- 
setClassifierSets the classifier of this artifact.- Parameters:
- classifier- The classifier. May be null.
 
- 
builtByRegisters some tasks which build this artifact.- Parameters:
- tasks- The tasks. These are evaluated as per- Task.dependsOn(Object...).
- Returns:
- this
 
 
-