isIncremental

abstract fun isIncremental(): Boolean

Returns whether this task was executed incrementally.

Return

true if this task was executed incrementally

Since

5.1

Throws

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