Gradle unable to find artifact in maven repository

I am doing a simple gradle build and I have deployed a particular artifact to my internal sonatype maven repo

My build.gradle file looks like this:

apply plugin: ‘java’

sourceCompatibility = 1.8
version = ‘1.0’

repositories {
mavenCentral()
maven {url “http://maven.ebay.com/nexus/content/repositories/sre-snapshots/”}
}

dependencies {
compile group: “com.typesafe”, name: “config”, version: “1.3.0”
//compile project(‘:metrics’)
compile group: ‘com.ebay.telemetry’, name: ‘client-library’, version: ‘0.1-SNAPSHOT’
compile group: “org.slf4j”, name: “slf4j-jdk14”, version: “1.7.12”
testCompile group: ‘junit’, name: ‘junit’, version: ‘4.11’
}

I run this command on the command line: gradle build

I get this error:

Could not find net.alchim31:metrics-influxdb:0.7.1-ebay-SNAPSHOT.
Searched in the following locations:
https://repo1.maven.org/maven2/net/alchim31/metrics-influxdb/0.7.1-ebay-SNAPSHOT/maven-metadata.xml
http://maven.ebay.com/nexus/content/repositories/sre-snapshots/net/alchim31/metrics-influxdb/0.7.1-ebay-SNAPSHOT/maven-metadata.xml
http://maven.ebay.com/nexus/content/repositories/sre-snapshots/net/alchim31/metrics-influxdb/0.7.1-ebay-SNAPSHOT/metrics-influxdb-0.7.1-ebay-20150708.054833-4.pom
http://maven.ebay.com/nexus/content/repositories/sre-snapshots/net/alchim31/metrics-influxdb/0.7.1-ebay-SNAPSHOT/metrics-influxdb-0.7.1-ebay-20150708.054833-4.jar

However when I go to http://maven.ebay.com/nexus/content/repositories/sre-snapshots/net/alchim31/metrics-influxdb/0.7.1-ebay-SNAPSHOT/

I see the following files :

metrics-influxdb-0.7.1-ebay-20150708.054830-3.pommetrics-influxdb-0.7.1-ebay-20150708.054830-3.jar

So why is gradle looking for
metrics-influxdb-0.7.1-ebay-20150708.054833-4.jar when my repo has
metrics-influxdb-0.7.1-ebay-20150708.054830-3.jar

I have a similar problem. In my case I have an internal maven repository and I only want to use dependencies from that one. So I have specified it in the repository block. However, when running “gradle build”, it says its unable to find the jars. When looking at the debug statement I can see that its looking in the right url. I can even, copy paste it to my browser and get prompted to download the jar. So what can be causing this problem?