-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
20 lines (15 loc) · 875 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ThisBuild / scalaVersion := _root_.scalafix.sbt.BuildInfo.scala212
ThisBuild / organization := "com.alejandrohdezma"
ThisBuild / pluginCrossBuild / sbtVersion := "1.2.8"
ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible
addCommandAlias("ci-test", "fix --check; versionPolicyCheck; mdoc")
addCommandAlias("ci-docs", "github; mdoc; headerCreateAll")
addCommandAlias("ci-publish", "versionCheck; github; ci-release")
lazy val scalafix = "ch.epfl.scala" % "sbt-scalafix" % "[0.9.18,)" % Provided // scala-steward:off
lazy val scalafmt = "org.scalameta" % "sbt-scalafmt" % "[2.0.0,)" % Provided // scala-steward:off
lazy val documentation = project
.enablePlugins(MdocPlugin)
lazy val `sbt-fix` = module
.enablePlugins(SbtPlugin)
.settings(addSbtPlugin(scalafix))
.settings(addSbtPlugin(scalafmt))