Right way to copy contents from dependency archives?

Hi, where should this dependsOn be located? Who should depend on the configuration? Can you provide me with some more context please. THanks. martin