Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/nix/vm-tests/android-dev-sample/offline.init.gradle

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) }
}
}