gradle
8.4

# PublishingExtension

interface PublishingExtension(source)

The configuration of how to “publish” the different components of a project.

## Properties

NAME
Link copied to clipboard
val NAME: String = "publishing"
The name of this extension when installed by the org.gradle.api.publish.plugins.PublishingPlugin ({@value}).

## Functions

getPublications
Link copied to clipboard
abstract fun getPublications(): PublicationContainer
The publications of the project.
getRepositories
Link copied to clipboard
abstract fun getRepositories(): RepositoryHandler
The container of possible repositories to publish to.
publications
Link copied to clipboard
abstract fun publications(configure: Action<out Any>)
Configures the publications of this project.
repositories
Link copied to clipboard
abstract fun repositories(configure: Action<out Any>)
Configures the container of possible repositories to publish to.