up-to-date check

Gradle's check that a task's inputs and outputs are unchanged since its last run, in which case it skips the task.

In more detail

Running ./gradlew test twice without editing anything reports the test tasks as UP-TO-DATE and does no work. This incremental build is what makes Gradle fast on large projects. It only works when tasks declare their inputs and outputs correctly.

Example

> Task :test UP-TO-DATE

Related terms

Taught in

References