api / org.gradle.api.tasks.incremental / IncrementalTaskInputs / isIncremental
isIncremental
abstract fun isIncremental(): Boolean
Indicates if it was possible for Gradle to determine which exactly input files were out of date compared to a previous execution. This is not possible in the case of no previous execution, changed input properties, output files, etc.
When true
:
- Any input file that has been added or modified since previous execution will be considered 'out-of-date' and reported to
#outOfDate
.
- Any input files that has been removed since previous execution will be reported to
#removed
.
When false
:
- Every input file will be considered to be 'out-of-date' and will be reported to
#outOfDate
.
- No input files will be reported to
#removed
.