11 lines
410 B
Groovy
11 lines
410 B
Groovy
// Build with the fetched dependencies as the only repository, so a build that
|
|
// needs anything else fails instead of reaching for the network.
|
|
beforeSettings { settings ->
|
|
def repo = System.getenv('ANDROID_DEPS_REPO')
|
|
settings.pluginManagement.repositories {
|
|
maven { url = uri(repo) }
|
|
}
|
|
settings.dependencyResolutionManagement.repositories {
|
|
maven { url = uri(repo) }
|
|
}
|
|
}
|