matans
(Matan Sabag)
1
Hello,
I am using dynamic dependencies (“com.google.guava:guava:+”) with dependency locking in my project.
What is the best way to prevent from dynamic dependencies to use versions that have “-beta” or “-rc” in their suffix?
I am using Gradle 6.7.1.
Thanks!
Chris_Dore
(Chris Doré)
2
You should be able to add a component selection rule that rejects the versions you don’t want.
https://docs.gradle.org/6.7.1/userguide/dynamic_versions.html#sec:component_selection_rules