Clone
Cédric Champeau
committed
on 13 Mar 18
Replace `CapabilitiesExtension` with outgoing variants DSL
This commit replaces the need for a `CapabilitiesExtension` by adding the declara… Show more
Replace `CapabilitiesExtension` with outgoing variants DSL

This commit replaces the need for a `CapabilitiesExtension` by adding the declaration

of variant capabilities on outgoing configuration variants. Instead of:

```

capabilities {

  api 'org.test:foo:1.0'

}

```

one should now write:

```

configurations.api.outgoing {

  capability 'org.test:foo:1.0'

}

```

Show less

master + 444 more