Skip to content

Commit

Permalink
Add sbt-version-policy to the build
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrohdezma committed Jan 15, 2024
1 parent b08388e commit b263cb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ addCommandAlias("ci-publish", "versionCheck; github; ci-release")

val `sbt-mdoc` = "org.scalameta" % "sbt-mdoc" % "[2.0,)" % Provided // scala-steward:off

val `sbt-version-policy` = "ch.epfl.scala" % "sbt-version-policy" % "[3.2,)" % Provided // scala-steward:off

lazy val documentation = project
.enablePlugins(MdocPlugin)
.settings(mdocIn := file(".github") / "docs")
Expand All @@ -17,6 +19,7 @@ lazy val documentation = project

lazy val `sbt-ci` = module
.settings(addSbtPlugin(`sbt-mdoc`))
.settings(addSbtPlugin(`sbt-version-policy`))
.enablePlugins(SbtPlugin)
.enablePlugins(BuildInfoPlugin)
.settings(buildInfoKeys += BuildInfoKey("repo", repository.value.map(_.name)))
Expand Down

0 comments on commit b263cb6

Please sign in to comment.