mirror of https://github.com/sbt/sbt.git
**What it does** When you run `dependencyLock`, sbt generates a `deps.lock` file that captures your resolved dependencies. This file can be checked into version control to ensure reproducible builds across different machines and CI environments. **New tasks** - **`dependencyLock`** - Generates the lock file from the current resolution - **`dependencyLockCheck`** - Validates the lock file is up-to-date (fails build if stale) **How it works** The lock file stores a hash of your declared dependencies and resolvers. When dependencies change, the hash changes, and `dependencyLockCheck` will fail until you regenerate the lock file. If no lock file exists, `dependencyLockCheck` passes silently - this allows gradual adoption. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||