api / org.gradle.api.tasks.incremental / IncrementalTaskInputs / outOfDate

outOfDate

abstract fun outOfDate(outOfDateAction: Action<in InputFileDetails>): Unit

Executes the action for all of the input files that are out-of-date since the previous task execution. The action may also be supplied as a groovy.lang.Closure.

This method may only be called a single time for a single IncrementalTaskInputs instance.

Exceptions

IllegalStateException - on second and subsequent invocations.