-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
50 lines (45 loc) · 1.24 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
import Dependencies._
lazy val versionNumber = "0.2.0"
lazy val snapshot = "SNAPSHOT"
lazy val versionTag = versionNumber + "-" + snapshot
lazy val root = project
.in(file("."))
.aggregate(common, rest, websocket)
.disablePlugins(AssemblyPlugin)
.settings(
Common.settings,
Publish.settings,
name := "binance4s",
version := versionTag,
skip in publish := true,
crossScalaVersions := Nil
)
lazy val common = project
.in(file("binance4s-common"))
.settings(
Common.settings,
Publish.settings,
name := "binance4s-common",
version := versionTag,
libraryDependencies ++= Seq(logging, cats, catsEffect) ++ enumeratum ++ circe ++ scalatest ++ http4sClient
)
lazy val rest = project
.in(file("binance4s-rest"))
.dependsOn(common % "compile->compile;test->test")
.settings(
Common.settings,
Publish.settings,
name := "binance4s-rest",
version := versionTag,
libraryDependencies ++= Seq(circeConfig) ++ tsec
)
lazy val websocket = project
.in(file("binance4s-websocket"))
.dependsOn(common % "compile->compile;test->test")
.settings(
Common.settings,
Publish.settings,
name := "binance4s-websocket",
version := versionTag,
libraryDependencies ++= fs2
)