LinuxCommandLibrary

gradle-tasks

Gradle available tasks lister

TLDR

List main tasks

$ gradle tasks
copy
List all tasks including hidden
$ gradle tasks --all
copy
List with wrapper
$ ./gradlew tasks
copy
List tasks for subproject
$ gradle :app:tasks
copy
Get help on specific task
$ gradle help --task [taskName]
copy

SYNOPSIS

gradle tasks [--all]

DESCRIPTION

gradle tasks displays available tasks for the selected project. By default, it shows only tasks assigned to a task group with descriptions. Use --all to include internal and lifecycle tasks. Use gradle help --task to get detailed information about a specific task including its type and options.

PARAMETERS

--all

Show all tasks including internal ones.
--group name
Show tasks in specific group.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community