Gradle not searching all available repos

I have the following build error:

Build scan:

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 {
        maven { url '' }
        maven { url '' }
// 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?