Gradle not searching all available repos

I have the following build error:

Build scan: Build Scan® | Gradle Cloud Services

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?