{"id":16461577,"url":"https://github.com/stringbean/sbt-dependency-lock","last_synced_at":"2025-03-16T18:31:23.854Z","repository":{"id":39994151,"uuid":"217089824","full_name":"stringbean/sbt-dependency-lock","owner":"stringbean","description":"sbt plugin for creating dependency lockfiles","archived":false,"fork":false,"pushed_at":"2024-07-06T14:02:48.000Z","size":269,"stargazers_count":15,"open_issues_count":9,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-27T12:08:25.271Z","etag":null,"topics":["build-tools","dependency-analysis","lockfile","sbt","sbt-plugin","scala"],"latest_commit_sha":null,"homepage":"https://stringbean.github.io/sbt-dependency-lock","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stringbean.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-23T15:21:47.000Z","updated_at":"2025-02-05T16:05:57.000Z","dependencies_parsed_at":"2024-07-06T14:26:06.390Z","dependency_job_id":"931313e1-7df8-4b49-b102-efe3f73d23ca","html_url":"https://github.com/stringbean/sbt-dependency-lock","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringbean%2Fsbt-dependency-lock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringbean%2Fsbt-dependency-lock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringbean%2Fsbt-dependency-lock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stringbean%2Fsbt-dependency-lock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stringbean","download_url":"https://codeload.github.com/stringbean/sbt-dependency-lock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826788,"owners_count":20354220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-tools","dependency-analysis","lockfile","sbt","sbt-plugin","scala"],"created_at":"2024-10-11T11:08:43.076Z","updated_at":"2025-03-16T18:31:23.422Z","avatar_url":"https://github.com/stringbean.png","language":"Scala","readme":"# sbt-dependency-lock \n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/stringbean/sbt-dependency-lock/ci.yml?branch=main)](https://github.com/stringbean/sbt-dependency-lock/actions/workflows/ci.yml)\n[![Codacy grade](https://img.shields.io/codacy/grade/d45ca406c90c45c88a3a317563bc3302?label=codacy)](https://app.codacy.com/gh/stringbean/sbt-dependency-lock)\n[![Known Vulnerabilities](https://snyk.io/test/github/stringbean/sbt-dependency-lock/badge.svg?targetFile=build.sbt)](https://snyk.io/test/github/stringbean/sbt-dependency-lock?targetFile=build.sbt)\n[![sbt-dependency-lock Scala version support](https://index.scala-lang.org/stringbean/sbt-dependency-lock/sbt-dependency-lock/latest.svg)](https://index.scala-lang.org/stringbean/sbt-dependency-lock/sbt-dependency-lock) \n[![GitHub Discussions](https://img.shields.io/github/discussions/stringbean/sbt-dependency-lock)](https://github.com/stringbean/sbt-dependency-lock/discussions)\n\nAn sbt plugin to create a dependency lockfile similar to `package-lock.json` for npm or `Gemfile.lock` for RubyGems.\n\n## Quickstart\n\nInstall the plugin by adding the following to `project/plugins.sbt`:\n\n```scala\naddSbtPlugin(\"software.purpledragon\" % \"sbt-dependency-lock\" % \"\u003cversion\u003e\")\n```\n\nThen generate a lockfile with `sbt dependencyLockWrite`. This will resolve dependencies and output a lockfile containing\nall dependencies (including transitive ones) to `build.sbt.lock`.\n\nThe lockfile can then be checked with `sbt dependencyLockCheck`:\n\n```text\n[info] Dependency lock check passed\n```\n\nA mismatch between the lockfile and current dependencies will generate an error report:\n\n```text\n[error] (dependencyLockCheck) Dependency lock check failed:\n[error]   3 dependencies changed:\n[error]     org.apache.commons:commons-lang3       (test)  -\u003e (compile,test)  3.9 \n[error]     org.scala-lang.modules:scala-xml_2.12  (test)                     1.2.0  -\u003e 1.1.0 \n[error]     org.scalactic:scalactic_2.12           (test)                     3.0.8  -\u003e 3.0.7 \n[error]     org.scalatest:scalatest_2.12           (test)                     3.0.8  -\u003e 3.0.7 \n```\n\nSee the [docs](https://stringbean.github.io/sbt-dependency-lock) for further information on how the plugin works.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstringbean%2Fsbt-dependency-lock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstringbean%2Fsbt-dependency-lock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstringbean%2Fsbt-dependency-lock/lists"}