How can I resolve only a single dependency from a configuration?

Is there a method to resolve/download just a single artifact dependency from an external maven repo configuration, rather than the full set?

We have some large artifact deps, and would like to avoid un-necessary downloads for some simple cases, yet still have the ability to download these deps when needed.


I would suggest creating separate configurations to separate out the specific files you want to filter, then manually add them back to the classpath of tasks that need full set.