As part of a hierarchical build project I'm working on, I'd like to be able to poll a configuration's artifact dependencies in order to build a file listing what those dependencies are. To better illustrate my issue, assume the following:
Configuration A, B, and C output the artifacts AFile, BFile, and CFile respectively.
Configuration Z has a dependency on all three of these artifacts.
I want a way for the build script run by Configuration Z to reference AFile, BFile, and CFile without having to manually input the file names into its environment/system variables. Is there a way to do this?