Clone
Jendrik Johannes
committed
on 02 Nov 17
Extend metadata rules to allow adjustment of dependencies
This adds:
- withVariant(variant_name) {}:
Choose an existing variant (or
conf… Show more
Extend metadata rules to allow adjustment of dependencies

This adds:

- withVariant(variant_name) {}:

 Choose an existing variant (or

 configuration) by name to modify its dependencies.

 This hook can later be used to modify attributes of a variant.

- withVariant(variant_name) { withDependencies {} }:

 Inside the withDependencies block, existing dependencies can be

 removed and new dependencies can be added.

Show less

master + 486 more