# IvyArtifact

interface IvyArtifact : PublicationArtifact(source)

An artifact published as part of a IvyPublication.

## Functions

builtBy
Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>)
Registers some tasks which build this artifact.
getBuildDependencies
Link copied to clipboard
abstract fun getBuildDependencies(): TaskDependency
Returns a dependency which contains the tasks which build this artifact.
getClassifier
Link copied to clipboard
@Nullable
abstract fun getClassifier(): @Nullable String
The classifier used to publish the artifact file.
getConf
Link copied to clipboard
@Nullable
abstract fun getConf(): @Nullable String
A comma separated list of public configurations in which this artifact is published.
getExtension
Link copied to clipboard
abstract fun getExtension(): String
The extension used to publish the artifact file, never `null`.
getFile
Link copied to clipboard
abstract fun getFile(): File
The actual file contents to publish.
getName
Link copied to clipboard
abstract fun getName(): String
The name used to publish the artifact file, never `null`.
getType
Link copied to clipboard
abstract fun getType(): String
The type used to publish the artifact file, never `null`.
setClassifier
Link copied to clipboard
abstract fun setClassifier(@Nullable classifier: @Nullable String)
Sets the classifier used to publish the artifact file.
setConf
Link copied to clipboard
abstract fun setConf(@Nullable conf: @Nullable String)
Sets a comma separated list of public configurations in which this artifact is published.
setExtension
Link copied to clipboard
abstract fun setExtension(extension: String)
Sets the extension used to publish the artifact file.
setName
Link copied to clipboard
abstract fun setName(name: String)
Sets the name used to publish the artifact file.
setType
Link copied to clipboard
abstract fun setType(type: String)
Sets the type used to publish the artifact file.