-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
23 lines (19 loc) · 1.2 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ThisBuild / scalaVersion := "2.13.15"
ThisBuild / organization := "com.alejandrohdezma"
ThisBuild / crossScalaVersions := Seq("2.13.15", "3.3.4")
ThisBuild / versionPolicyIntention := Compatibility.BinaryCompatible
addCommandAlias("ci-test", "fix --check; versionPolicyCheck; mdoc; +test; +publishLocal;")
addCommandAlias("ci-docs", "github; headerCreateAll; mdoc")
addCommandAlias("ci-publish", "versionCheck; github; ci-release")
lazy val documentation = project
.enablePlugins(MdocPlugin)
.dependsOn(`tapir-golden-openapi-munit`)
.dependsOn(`tapir-golden-openapi-munit-validator`)
lazy val `tapir-golden-openapi-munit` = module
.settings(libraryDependencies += "com.softwaremill.sttp.tapir" %% "tapir-core" % "1.11.11")
.settings(libraryDependencies += "com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % "1.11.11")
.settings(libraryDependencies += "com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % "0.11.5")
.settings(libraryDependencies += "org.scalameta" %% "munit" % "1.0.3")
lazy val `tapir-golden-openapi-munit-validator` = module
.dependsOn(`tapir-golden-openapi-munit`)
.settings(libraryDependencies += "io.swagger.parser.v3" % "swagger-parser" % "2.1.24")