For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

Publication

interface Publication : Named(source)

A publication is a description of a consumable representation of one or more artifacts, and possibly associated metadata.

Since

1.3

Inheritors

Functions

Link copied to clipboard
abstract fun getName(): String
The object's name.
Link copied to clipboard
abstract fun withBuildIdentifier()
Enables publication of a unique build identifier in Gradle Module Metadata.
Link copied to clipboard
abstract fun withoutBuildIdentifier()
Disables publication of a unique build identifier in Gradle Module Metadata.