ConfigurablePublishArtifact

A PublishArtifact whose properties can be modified.

Functions

Link copied to clipboard
Registers some tasks which build this artifact.
Link copied to clipboard
Returns a dependency which contains the tasks which build this artifact.
Link copied to clipboard
@Nullable
abstract fun getClassifier(): @Nullable String
Returns the classifier of this published artifact, if any.
Link copied to clipboard
@Nullable
abstract fun getDate(): @Nullable Date
Returns the date that should be used when publishing this artifact.
Link copied to clipboard
abstract fun getExtension(): String
Returns the extension of this published artifact.
Link copied to clipboard
abstract fun getFile(): File
Returns the file of this artifact.
Link copied to clipboard
abstract fun getName(): String
Returns the name of the artifact.
Link copied to clipboard
abstract fun getType(): String
Returns the type of the published artifact.
Link copied to clipboard
abstract fun setClassifier(@Nullable classifier: @Nullable String)
Sets the classifier of this artifact.
Link copied to clipboard
abstract fun setExtension(extension: String)
Sets the extension of this artifact.
Link copied to clipboard
abstract fun setName(name: String)
Sets the name of this artifact.
Link copied to clipboard
abstract fun setType(type: String)
Sets the type of this artifact.