How to configure Gradle updates to use strict versions? #8038
-
I would like to configure gradle to use strict versions. Currently, I specify
renovate updates it to
but I would like renovate to use
I read the docs for renovates gradle versioning, and it says https://docs.renovatebot.com/modules/versioning/#gradle-versioning Anyone know if this is possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think this is currently not supported. I've never seen those strict versions, do you have any reference for that? |
Beta Was this translation helpful? Give feedback.
-
Sure do! It is the shorthand syntax for strict versioning. Gradles definition of
https://docs.gradle.org/current/userguide/rich_versions.html Reference for the shorthand syntax: dependencies {
// short-hand notation with !!
implementation("org.slf4j:slf4j-api:1.7.15!!")
// is equivalent to
implementation("org.slf4j:slf4j-api") {
version {
strictly("1.7.15")
}
}
} https://docs.gradle.org/current/userguide/single_versions.html#simple_version_declaration_semantics |
Beta Was this translation helpful? Give feedback.
I think this is currently not supported. I've never seen those strict versions, do you have any reference for that?