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.

DistributionBasePlugin

A plugin that configures rules allowing projects to be packaged as a distribution.

As a base plugin, this plugin adds no distributions by default. The DistributionPlugin adds a main distribution as a convention.

Since

8.13

See also

Constructors

Link copied to clipboard
@Inject
constructor(instantiator: Instantiator, fileOperations: FileOperations, callbackActionDecorator: CollectionCallbackActionDecorator)

Functions

Link copied to clipboard
open fun apply(project: Project)
Apply this plugin to the given target object.