gradle/gradle — pull request #117 by sortelli (2013-01-10 09:19:41+00:00)
Title: Use configurations from target dependency when resolving conf="x->*"

Hey guys,

Looks like there is a bug in how conf="anything->*" is being interpreted. Currently, the configurations from the parent are used when evaluating the * wildcard on the target side, rather than the configurations from the target.

For example, if the master has configurations _compile_ and _runtime_, and the target has configurations _compile_ and _archive_, then conf="compile->*" is being interpreted as conf="compile->compile,runtime" instead of conf="compile->compile,archive".

See the canUseWildcardVersions integration test for an example.

Cheers!