withDownstreamVariants
private fun TransitiveProjectDependency.withDownstreamVariants(project: McProject): Sequence<TransitiveProjectDependency>(source)
Returns a sequence starting with the receiver's configuration, then all downstream configurations.
For example, if we're checking to see if a transitive dependency is used in main
, we should also check whether it's used in the source sets which inherit from main
(like debug
, release
, androidTest
, test
, etc.).
Since
0.12.0