Skip to content

Commit afb1997

Browse files
committed
Update README.md
1 parent 90d3905 commit afb1997

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ This guide will guide you through both installation and usage.
3030
6. [Commit History Scan](#commit-history-scan)
3131
1. [Commit Range Option](#commit-range-option)
3232
7. [Pre-Commit Scan](#pre-commit-scan)
33+
8. [SBT Scan](#sbt-scan)
3334
2. [Scan Results](#scan-results)
3435
1. [Show/Hide Secrets](#showhide-secrets)
3536
2. [Soft Fail](#soft-fail)
@@ -496,6 +497,17 @@ After your install the pre-commit hook and, you may, on occasion, wish to skip s
496497
497498
`SKIP=cycode git commit -m <your commit message>`
498499
500+
### SBT Scan
501+
502+
SBT Project have to uses the sbt-dependency-lock plugin for our scanning to ensure consistent dependency versions across builds. The lock file (build.sbt.lock) records exact dependency versions, enabling reliable builds and simplified dependency management.
503+
504+
Prerequisites
505+
506+
• sbt: Ensure that sbt is installed on your system.
507+
• sbt-dependency-lock Plugin: Add the following line to project/plugins.sbt:
508+
509+
`addSbtPlugin("io.github.coursier" % "sbt-dependency-lock" % "1.6.2")`
510+
499511
## Scan Results
500512
501513
Each scan will complete with a message stating if any issues were found or not.

0 commit comments

Comments
 (0)