Incremental tasks are a great feature. All the the examples show how one would create a custom task class to utilize it. However, is there a way to access the incremental ‘outOfDate’ and ‘removed’ objects from a regular gradle tasks.
What is the correct syntax to accomplish this?
task myIncrementalTask {
inputs.files configurations.compile
doLast {
inputs.outOfDate { .... }
inputs.removed { .... }
}
}