api / org.gradle.api / Task / getGroup

getGroup

@Internal @Nullable abstract fun getGroup(): String

Returns 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.

Return
The task group for this task. Might be null.