gradle
8.5

# PublicationArtifact

interface PublicationArtifact : Buildable(source)

An artifact published as part of a Publication.

#### Inheritors

MavenArtifact
IvyArtifact

## 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
getFile
Link copied to clipboard
abstract fun getFile(): File
The actual file contents to publish.