I'd like to create a task that would take as input the @OutputFile
of some other task. I know the output file that needs to be taken as input but not the task that creates that output file so that the task that uses the output can dependsOn
the output creator. How do I find which task creates that output?
More concretely:
$unknownTask
createssomeKnownOutput
newTask
usessomeKnownOutput
newTask
would like todependsOn $unknownTask
How can the value of $unknownTask
be found?