-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
44 lines (32 loc) · 1.42 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
32
33
34
35
36
37
38
39
40
41
42
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
ThisBuild / crossScalaVersions := Seq("2.12.15", "2.13.12", "3.3.3")
val epimetheusV = "0.6.0-M3"
val catsV = "2.9.0"
val catsEffectV = "3.3.14"
val log4catsV = "2.3.2"
val specs2V = "4.20.0"
lazy val `epimetheus-log4cats` = project.in(file("."))
.disablePlugins(MimaPlugin)
.enablePlugins(NoPublishPlugin)
.aggregate(core)
lazy val core = project.in(file("core"))
.settings(
name := "epimetheus-log4cats",
libraryDependencies ++= Seq(
"io.chrisdavenport" %% "epimetheus" % epimetheusV,
"org.typelevel" %% "cats-core" % catsV,
"org.typelevel" %% "cats-effect" % catsEffectV,
"org.typelevel" %% "log4cats-core" % log4catsV,
"org.typelevel" %% "log4cats-testing" % log4catsV % Test,
("org.specs2" %% "specs2-core" % specs2V % Test).cross(CrossVersion.for3Use2_13),
("org.specs2" %% "specs2-scalacheck" % specs2V % Test).cross(CrossVersion.for3Use2_13)
)
)
lazy val site = project.in(file("site"))
.disablePlugins(MimaPlugin)
.enablePlugins(NoPublishPlugin)
.enablePlugins(DavenverseMicrositePlugin)
.dependsOn(core)
.settings(
micrositeDescription := "Epimetheus Log4cats Metrics",
)