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.

configure

abstract fun configure(configureClosure: Closure): Task(source)

Applies the statements of the closure against this task object. The delegate object for the closure is set to this task.

Return

This task

Since

0.7

Parameters

configureClosure

The closure to be applied (can be null).