-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
18 lines (15 loc) · 835 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ThisBuild / scalaVersion := _root_.scalafix.sbt.BuildInfo.scala212
ThisBuild / organization := "com.alejandrohdezma"
ThisBuild / pluginCrossBuild / sbtVersion := "1.2.8"
ThisBuild / versionPolicyIntention := Compatibility.BinaryCompatible
addCommandAlias("ci-test", "fix --check; versionPolicyCheck; mdoc; scripted")
addCommandAlias("ci-docs", "github; mdoc; headerCreateAll")
addCommandAlias("ci-publish", "versionCheck; github; ci-release")
lazy val documentation = project
.enablePlugins(MdocPlugin)
.settings(mdocOut := file("."))
lazy val `sbt-scripted-munit` = module
.settings(libraryDependencies += "org.scalameta" %% "munit" % "1.0.4")
.enablePlugins(SbtPlugin)
.settings(scriptedBufferLog := false)
.settings(scriptedLaunchOpts += s"-Dplugin.version=${version.value}")