@nx/gradle:gradle

The Gradle Impl executor is used to run Gradle tasks.

Options can be configured in project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/reference/project-configuration#targets.

Options

taskName

Required
string

The name of the Gradle task to run.

args

oneOf [Array<string>, string]

The arguments to pass to the Gradle task.

testClassName

string

The test class name to run for test task.

excludeDependsOn

Internal
boolean
Default: true

If true, the tasks will not execute its dependsOn tasks (e.g. pass --exclude-task args to gradle command). If false, the task will execute its dependsOn tasks.