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.

apply

open override fun apply(action: Action<in ObjectConfigurationAction>)(source)

Applies zero or more plugins or scripts.

The given action is used to configure an [ObjectConfigurationAction], which "builds" the plugin application.

Parameters

action

the action to configure an ObjectConfigurationAction with before "executing" it

See also