Can I use separate repositories for separate configurations?


(Mike Bradley) #1

My company is pretty strict regarding their 3rd party jars policy. Because of this I would like to be able to allow access to the mavenCentral() repository only to certain configurations such as testCompile. While other configurations, such as compile, must only use our own internal maven repository. Is this possible?


(Luke Daley) #2

Unfortunately it is not possible to achieve this. Or at least, I can’t think of a way. One of the other developers might have a clever idea, but I’m not hopeful.

We do have some long term plans to make this kind of thing possible.