Post-evaluated Copy task output file list


(Fredrik Reveny) #1

I have a Copy task which takes a FileCollection, uses a filter and puts altered copies in a new location. All information about which input files are turned into which output files is provided.

I want to set up a second task which performs tasks on each of these files. When I do .outputs.files.each on the Copy task I get the output folder, but how can I iterate over, and create a configuration-time dependency on, the Copy task’s output files?