{"id":19238953,"url":"https://github.com/aiyanbo/sbt-dependency-updates","last_synced_at":"2025-10-03T16:09:29.456Z","repository":{"id":53825188,"uuid":"77158997","full_name":"aiyanbo/sbt-dependency-updates","owner":"aiyanbo","description":"⬆️ SBT plugin that can check Maven and Ivy repositories for dependency and plugin updates","archived":false,"fork":false,"pushed_at":"2024-03-31T04:07:42.000Z","size":197,"stargazers_count":88,"open_issues_count":12,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-01T10:51:23.175Z","etag":null,"topics":["sbt-plugin","scala"],"latest_commit_sha":null,"homepage":"","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/aiyanbo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-12-22T16:19:20.000Z","updated_at":"2025-02-20T00:40:15.000Z","dependencies_parsed_at":"2024-01-20T08:32:32.179Z","dependency_job_id":"d8cd297d-507f-40e9-b196-8a1fe4db8f10","html_url":"https://github.com/aiyanbo/sbt-dependency-updates","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiyanbo%2Fsbt-dependency-updates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiyanbo%2Fsbt-dependency-updates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiyanbo%2Fsbt-dependency-updates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiyanbo%2Fsbt-dependency-updates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aiyanbo","download_url":"https://codeload.github.com/aiyanbo/sbt-dependency-updates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250014693,"owners_count":21360996,"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":["sbt-plugin","scala"],"created_at":"2024-11-09T16:35:17.995Z","updated_at":"2025-10-03T16:09:22.151Z","avatar_url":"https://github.com/aiyanbo.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbt-dependency-updates\n\n[![Latest Version](https://img.shields.io/github/release/aiyanbo/sbt-dependency-updates.svg)](https://github.com/aiyanbo/sbt-dependency-updates/releases/latest)\n[![Release Pipeline](https://github.com/aiyanbo/sbt-dependency-updates/actions/workflows/release.yml/badge.svg)](https://github.com/aiyanbo/sbt-dependency-updates/actions/workflows/release.yml)\n\n\nDisplay your SBT project's dependency updates.\n\n![Demo](https://raw.githubusercontent.com/aiyanbo/paper-images/master/sbt-dependency-updates.gif)\n\n## Installation\n\nAdd the following line to one of these files:\n- The project-specific file at `project/plugins.sbt`\n- Your global file at `~/.sbt/1.0/plugins/plugins.sbt` for sbt **1.0**\n\n```scala\n\naddSbtPlugin(\"org.jmotor.sbt\" % \"sbt-dependency-updates\" % \"1.2.9\")\n\n```\n\nor `~/.sbt/0.13/plugins/plugins.sbt` for sbt **0.13**\n\n```scala\n\naddSbtPlugin(\"org.jmotor.sbt\" % \"sbt-dependency-updates\" % \"1.0.7\")\n\n```\n\n## Tasks\n\n- `dependencyUpdates`: show a list of project dependencies and plugins that can be updated\n- `dependencyUpgrade`: `Experimental` upgrade of project dependencies and plugins that can be updated\n\n### dependencyUpgrade\n\n- Add `project/Dependencies.scala` in your root project\n- `Dependencies.scala` as the following:\n\n```scala\nimport sbt._\n\nobject Dependencies {\n\n  // define versions, The variable name must be camel case by module name\n  object Versions {\n    val fansi = \"0.2.5\"\n    val slf4j = \"1.7.25\"\n    val guava = \"24.0-jre\"\n    val scalatest = \"3.0.5\"\n    val scala212 = \"2.12.4\"\n    val scala211 = \"2.11.11\"\n    val scalariform = \"0.2.6\"\n    val scalaLogging = \"3.7.2\"\n  }\n\n  object Compile {\n    val fansi = \"com.lihaoyi\" %% \"fansi\" % Versions.fansi\n    val guava = \"com.google.guava\" % \"guava\" % Versions.guava\n    val slf4jSimple = \"org.slf4j\" % \"slf4j-simple\" % Versions.slf4j\n    val scalariform = \"org.scalariform\" %% \"scalariform\" % Versions.scalariform\n  }\n\n  object Test {\n    val scalaTest: ModuleID = \"org.scalatest\" %% \"scalatest\" % Versions.scalatest % \"test\"\n  }\n\n  import Compile._\n\n  lazy val dependencies = Seq(fansi, guava, slf4jSimple, scalariform, Test.scalaTest)\n\n}\n\n```\n\nYou can download an example project with this layout here:\n\n- [sbt-simple-project](https://github.com/aiyanbo/sbt-simple-project)\n\n## Settings\n\n- `dependencyUpgradeModuleNames`: a setting to customize the mapping of module name\n\nE.g. in `build.sbt` you can change configuration settings like this:\n\n```scala\n  dependencyUpgradeModuleNames := Map(\n    \"slf4j-simple\" -\u003e \"slf4j\",\n    \"undertow.*\" -\u003e \"undertow\"\n  )\n```\n\n- `dependencyUpgradeComponentSorter`: a setting to sort component names, default: `org.jmotor.sbt.plugin.ComponentSorter.ByLength`\n\n\u003e org.jmotor.sbt.plugin.ComponentSorter.ByLength: sort the names by length\n\u003e org.jmotor.sbt.plugin.ComponentSorter.ByAlphabetically: sort the names by alphabetically\n\nE.g. in `build.sbt` you can change configuration settings like this:\n\n```scala\n  import org.jmotor.sbt.plugin.ComponentSorter\n  \n  dependencyUpgradeComponentSorter := ComponentSorter.ByAlphabetically\n```\n\n## Coming soon\n- CI Repoter: Design\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiyanbo%2Fsbt-dependency-updates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiyanbo%2Fsbt-dependency-updates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiyanbo%2Fsbt-dependency-updates/lists"}