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.

setGroup

abstract fun setGroup(@Nullable group: @Nullable String)(source)

Sets the task group which this task belongs to. The task group is used in reports and user interfaces to group related tasks together when presenting a list of tasks to the user.

Since

0.9

Parameters

group

The task group for this task. Can be null.