-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
18 lines (15 loc) · 898 Bytes
/
Copy pathbuild.sbt
File metadata and controls
18 lines (15 loc) · 898 Bytes
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 / crossScalaVersions := Seq(scalaVersion.value, "3.8.4")
ThisBuild / organization := "com.alejandrohdezma"
ThisBuild / pluginCrossBuild / sbtVersion := scalaVersion.value.on(2)("1.12.15").getOrElse("2.0.0")
ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible
addCommandAlias("ci-test", "fix --check; +versionPolicyCheck; mdoc; +test; +publishLocal; +scripted")
addCommandAlias("ci-docs", "github; mdoc; headerCreateAll")
addCommandAlias("ci-publish", "versionCheck; github; ci-release")
lazy val documentation = project
.enablePlugins(MdocPlugin)
.dependsOn(allModules)
.settings(mdocOut := file("."))
lazy val `sbt-modules` = module
.enablePlugins(SbtPlugin)
.settings(scriptedLaunchOpts += s"-Dplugin.version=${version.value}")