isIncremental

abstract fun isIncremental(): Boolean(source)

Returns whether this task was executed incrementally.

Return

true if this task was executed incrementally

Throws

For Gradle versions older than 5.1, where this method is not supported.