Clone
Lóránt Pintér
committed
on 16 Aug 16
Introduce `@PathSensitive` annotation
This annotation on a task property specifies which part of the file paths to observe when comparing di… Show more
Introduce `@PathSensitive` annotation

This annotation on a task property specifies which part of the file paths to observe when comparing different states of the task. For example, a Java classpath property will most probably ignore file paths completely, whereas Java sources to be compiled should observe the file names (and ignore the rest of the paths).

This feature enables up-to-date checks to recognize the case where the whole project has been moved, but its internal contents haven't changed. More importantly, this feature enables sharing cached task outputs between different computers where the task is being executed under different root directories.

+review REVIEW-6170

Show less

green-master + 409 more