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