Can someone provide an example or reference to an example that shows how to make a task dependent on the output of another task?
As an example, suppose I have one task A that unzips a dependency into a directory. I then have another task B that copies some files out of that directory. Rather than explicitly making task B depend on A, it’s my understanding that tying the input of task B to the output of task A implicitly forms a dependency and also take better advantage of which tasks are considered up-to-date.
For some reason, I’m having trouble finding the right google search terms to find an example of this.
I know I saw Hans demo this in one of his Gradle talks.
thanks in advance.