Locking
Last updated
Was this helpful?
Last updated
Was this helpful?
Updating dependencies can break our code. If we use dynamic versioning, we want to make sure that specific versions of dependencies are used. If we decide to update versions, we want to do it manually, as a deliberate action. We want to have dependencies under control.
Imagine you are a developer on project which is using dynamic versions. Every time you refresh dependencies, you might get different results, because someone could release, for example, a new minor version of a library the project uses. This can be really disturbing and slowing all the development down.
We need to lock versions and we can do it using Gradle plugin.
Here is how to create the dependency lock.
Read the usage for more information.