sbt/lm-coursier
MkDev11 2a5746cf6c
[2.x] feat: Add dependency lock file support (#2989) (#8581)
**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.
2026-01-21 19:08:59 -05:00
..
definitions/src/main/scala/lmcoursier [2.x] feat: Add dependency lock file support (#2989) (#8581) 2026-01-21 19:08:59 -05:00
metadata@95874ca5bd Move metadata to lm-coursier/metadata 2024-10-09 09:44:42 +02:00
src [2.x] feat: Add dependency lock file support (#2989) (#8581) 2026-01-21 19:08:59 -05:00
NOTICE Add NOTICE and headerLicense 2024-10-11 14:32:32 +02:00