api / org.gradle.api / Task / setGroup

setGroup

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

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.

Parameters

group - The task group for this task. Can be null.