@Incubating @Documented @Retention(RUNTIME) @Target(TYPE) public @interface UntrackedTask
If a task is untracked, then Gradle will not try to capture its state. That also means that Gradle does not do any optimizations for running the task. For example, such a task will always be out of date and never stored in or loaded from the build cache.
There can be different reasons for declaring a task as untracked, for example:
InputChanges cannot be used for untracked tasks,
since incremental tasks need to track the state of their inputs and outputs for them to be correct.