How to add a dependency that is on GCS?

Hi all,

I see that gcs Google Cloud Storage is a suitable transport protocol for repositories in Gradle 4.9, so I uploaded some JAR files directly to one of my buckets hoping that they can be added as a dependency to other projects that I work with. Hence I added the following lines in my build.gradle:

repositories {
    mavenCentral()
    maven {
        url "gcs://my-deps"
        metadataSources {
            artifact()
        }
    }
}

I’ve also set up the GOOGLE_APPLICATION_CREDENTIALS environment variable so that gradle can read the contents of my buckets in GCS. However, I’m not really sure how to reference my dependencies once they’re in the bucket, could you please give me a hand?

Not sure if it’s of any help, but these are the contents of my bucket:

alejandro@valhalla:~/src$ gsutil ls gs://my-deps/
gs://my-deps/api-0.0.1-SNAPSHOT.jar
gs://my-deps/api-0.0.1.jar

Cheers!