# ConfigurablePublishArtifact

interface ConfigurablePublishArtifact : PublishArtifact(source)

A PublishArtifact whose properties can be modified.

## Functions

builtBy
Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>): ConfigurablePublishArtifact
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
Returns the classifier of this published artifact, if any.
getDate
Link copied to clipboard
@Nullable
abstract fun getDate(): @Nullable Date
Returns the date that should be used when publishing this artifact.
getExtension
Link copied to clipboard
abstract fun getExtension(): String
Returns the extension of this published artifact.
getFile
Link copied to clipboard
abstract fun getFile(): File
Returns the file of this artifact.
getName
Link copied to clipboard
abstract fun getName(): String
Returns the name of the artifact.
getType
Link copied to clipboard
abstract fun getType(): String
Returns the type of the published artifact.
setClassifier
Link copied to clipboard
abstract fun setClassifier(@Nullable classifier: @Nullable String)
Sets the classifier of this artifact.
setExtension
Link copied to clipboard
abstract fun setExtension(extension: String)
Sets the extension of this artifact.
setName
Link copied to clipboard
abstract fun setName(name: String)
Sets the name of this artifact.
setType
Link copied to clipboard
abstract fun setType(type: String)
Sets the type of this artifact.