To get an overview of all Gradle tasks in our project, we need to run the tasks
task. Since Gradle 5.1, we can use the --group
option followed by a group name. Gradle will then show all tasks belonging to the group and not the other tasks in the project.
Suppose we have a Gradle Java project and want to show the tasks that belong to the build group: