forked from davenverse/equilibrium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
62 lines (53 loc) · 1.75 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
ThisBuild / tlBaseVersion := "0.0" // your current series x.y
ThisBuild / organization := "io.chrisdavenport"
ThisBuild / organizationName := "Christopher Davenport"
ThisBuild / licenses := Seq(License.MIT)
ThisBuild / developers := List(
tlGitHubDev("christopherdavenport", "Christopher Davenport")
)
ThisBuild / tlCiReleaseBranches := Seq("main")
ThisBuild / tlSonatypeUseLegacyHost := true
val Scala213 = "2.13.13"
ThisBuild / crossScalaVersions := Seq(Scala213, "3.3.3")
ThisBuild / scalaVersion := Scala213
ThisBuild / testFrameworks += new TestFramework("munit.Framework")
val catsV = "2.10.0"
val catsEffectV = "3.5.0"
val fs2V = "3.10.2"
val http4sV = "0.23.26"
val circeV = "0.14.5"
val doobieV = "1.0.0-RC5"
val munitCatsEffectV = "1.0.7"
// Projects
lazy val `equilibrium` = tlCrossRootProject
.aggregate(core)
lazy val core = project
.in(file("core"))
.settings(
name := "equilibrium-core",
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsV,
"org.typelevel" %% "cats-effect" % catsEffectV,
"co.fs2" %% "fs2-core" % fs2V,
"co.fs2" %% "fs2-io" % fs2V,
"org.http4s" %% "http4s-ember-server" % http4sV,
"org.http4s" %% "http4s-ember-client" % http4sV,
"org.http4s" %% "http4s-circe" % http4sV,
"io.circe" %% "circe-core" % circeV,
"io.circe" %% "circe-generic" % circeV,
"io.circe" %% "circe-parser" % circeV,
"io.circe" %% "circe-yaml" % "0.14.1",
"org.typelevel" %% "munit-cats-effect-3" % munitCatsEffectV % Test
)
)
lazy val app = project
.in(file("equilibrium"))
.enablePlugins(NoPublishPlugin)
.settings(
name := "equilibrium"
)
.dependsOn(core)
lazy val site = project
.in(file("site"))
.enablePlugins(TypelevelSitePlugin)
.dependsOn(core)