getHasOutput

abstract fun getHasOutput(): Boolean(source)

Returns true if this task has declared any outputs. Note that a task may be able to produce output files and still have an empty set of output files.

Return

true if this task has declared any outputs, otherwise false.