Gradle not searching all available repos

android

(Tony Robalik) #1

I have the following build error:

Build scan: https://scans.gradle.com/s/rsaqb6rvmpbrk/console-log

It builds locally but not on Jenkins. What is very weird about this is that the library in questions is available via the google() repo. Here’s our build script:

buildscript {
    apply from: 'deps.gradle'
    repositories {
        google()
        jcenter()
        maven { url 'https://maven.fabric.io/public' }
        maven { url 'https://plugins.gradle.org/m2/' }
    }
// etc

The reason I’m posting this here is because it seems like a Gradle issue. Why is the error reporting it can’t find it on jcenter? Why isn’t it searching the other repos?