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.

getNoSource

abstract fun getNoSource(): Boolean(source)

Returns true if the execution of this task was skipped due to task inputs are empty.

Checking this value is meaningful only after the task has been executed.

Return

true if this task has no input files assigned

Since

3.4