I was starting to poke around the new dependency resolution stuff because I think things like:
project.configurations.foo.getResolvedConfiguration().getLenientConfiguration().getFiles(myDependencySpec)
might be useful. However, I’m not sure how to generate useful dependency specs. I found the ‘Specs’ class which looks relevant, particularly its ‘convertClosureToSpec’ method. But I don’t know what I should be doing in my closure.
Could anyone post some examples or descriptions of what a dependencySpec looks like/does?
Thanks in advance, Chris