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 “http://maven.example.com/nexus/content/groups/snapshots”
}
}
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?