This message was deleted.
# community-support
s
This message was deleted.
v
Afair you can juse specify the exact version and Gradle handles it appropriately. Did you made a different observation?
Actually I remember it was broken at some point. What Gradle version are you using?
t
Yeah i’ve checked it in the past, and for some reasons the version hasn’t been found. But probably some issue with the
snapshotsOnly()
notation in the repositories clojure?
Copy code
repositories {
    maven {
        credentials {
            username = artifactoryUser
            password = artifactoryPassword
        }
        url = URI("$artifactoryUrl/libs-snapshot-local")
        mavenContent {
            snapshotsOnly()
        }
    }
}
v
Maybe, try to do it without that and see if it works. If so, that's a bug in the repository content selector I'd say.
g
I could recommend to look at immutable snapshots approach (like nebula.release plugin) with gradle dynamic versions if you can control snapshot publication side
t
@grossws, i’m basically using a similiar plugin (https://github.com/datalbry/gradle-plugin-semver) but unfortunately, the Artifactory of my customer does only allow snapshots as dynamic versions / pre releases and final versions might only contain digits + dots. So no suffix / prefix / affix