Consider the following snippet
repositories {
jcenter()
ivy {
name 'ForFooStuff'
url 'http://foo.com/repo'
}
}
configurations {
foo
}
dependencies {
foo 'foo:bar:1.0'
}
If I knew that dependencies for configuration foo is only available on the foo.com Ivy repository, is there any way to tell Gradle to only use that repo for when resolving dependencies for foo?