Gradle cannot resolve SNAPSHOT dependency

I have a gradle plugin, published to Nexus as “group:my-gradle-plugin:SNAPSHOT”

In my project I use it like:

buildscript {

repositories {

maven {

url “



dependencies {

classpath ‘group:my-gradle-plugin:SNAPSHOT’

} }

But when I build project Gradle says:

Could not find group:my-gradle-plugin:SNAPSHOT. Searched in the following locations:

When I enter the Nexus, the plugin is there, but in URL SNAPSHOT is replaced by timestamp. It looks like:

What is wrong, why Gradle can’t resolve the artifact?

I changed version to “1.0-SNAPSHOT” and it works file. Only “SNAPSHOT” does not.