For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

getTaskName

abstract fun getTaskName(@Nullable verb: @Nullable String, @Nullable target: @Nullable String): String(source)

Returns the name of a task for this source set.

Return

The task name, generally of the form ${verb}${name}${target}

Since

0.9

Parameters

verb

The action, may be null.

target

The target, may be null