forked from btlines/pbdirect
-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.sbt
31 lines (27 loc) · 1.36 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
24
25
26
27
28
29
30
31
ThisBuild / scalaVersion := "2.13.10"
ThisBuild / crossScalaVersions := Seq("2.12.17", "2.13.10")
ThisBuild / organization := "com.47deg"
skip in publish := true
addCommandAlias("ci-test", "scalafmtCheckAll; scalafmtSbtCheck; mdoc; testCovered")
addCommandAlias("ci-docs", "github; mdoc; headerCreateAll")
addCommandAlias("ci-publish", "github; ci-release")
lazy val pbdirect = project
.settings(Compile / scalacOptions -= "-Xfatal-warnings")
.settings(
libraryDependencies ++= Seq(
"com.beachape" %% "enumeratum" % "1.7.2",
"com.chuusai" %% "shapeless" % "2.3.10",
"com.google.protobuf" % "protobuf-java" % "3.22.2",
"org.typelevel" %% "cats-core" % "2.9.0",
"com.github.alexarchambault" %% "scalacheck-shapeless_1.15" % "1.3.0" % Test,
"com.github.os72" % "protoc-jar" % "3.11.4" % Test,
"org.scalatest" %% "scalatest" % "3.2.15" % Test,
"org.scalatestplus" %% "scalacheck-1-14" % "3.2.2.0" % Test
)
)
lazy val documentation = project
.dependsOn(pbdirect)
.settings(skip in publish := true)
.enablePlugins(MdocPlugin)
.settings(mdocOut := file("."))
.settings(Compile / scalacOptions -= "-Wnonunit-statement")