# PublishArtifact

interface PublishArtifact : Buildable(source)

A `PublishArtifact` is an artifact produced by a project.

#### Since

0.7

#### Inheritors

ConfigurablePublishArtifact

## Functions

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.