# PublishArtifact

interface PublishArtifact : Buildable

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

#### Inheritors

ConfigurablePublishArtifact

## Functions

getBuildDependencies
Link copied to clipboard
abstract fun getBuildDependencies(): TaskDependency
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.