Clone
Cédric Champeau
committed
on 27 Dec 19
Add a way to declare exclusive content for each repository
Before this change, if a repository declared contents using
`repository.content {… Show more
Add a way to declare exclusive content for each repository

Before this change, if a repository declared contents using

`repository.content { include "...." }`, it was required to

also declare that the _other_ repositories excluded it in

order to be mutually exclusive.

There's now an API which allows to declare exclusive content:

```

repositories {

  exclusiveContent {

     forRepository {

         maven { url "https://my-company-repo.com" }

     }

     filter { includeGroup("com.mycompany") }

  }

  mavenCentral()

}

```

Show less

green-master + 77 more