-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
42 lines (35 loc) · 1.49 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 DependencySettings._
val settingsHelper = ProjectSettingsHelper("au.id.tmm","countstv")()
settingsHelper.settingsForBuild
lazy val root = project
.in(file("."))
.settings(settingsHelper.settingsForRootProject)
.settings(console := (console in Compile in core).value)
.aggregate(
core,
circe,
)
val probabilityVersion = "0.1.0"
val tmmUtilsVersion = "0.3.3"
lazy val core = project
.in(file("core"))
.settings(settingsHelper.settingsForSubprojectCalled("core"))
.settings(
libraryDependencies += "org.scala-lang.modules" %% "scala-parallel-collections" % "0.2.0",
libraryDependencies += "net.sf.trove4j" % "trove4j" % "3.0.3",
libraryDependencies += "au.id.tmm.probability" %% "probability-measure" % probabilityVersion,
libraryDependencies += "au.id.tmm.tmm-utils" %% "tmm-utils-collection" % tmmUtilsVersion,
libraryDependencies += "au.id.tmm.tmm-utils" %% "tmm-utils-codec" % tmmUtilsVersion,
libraryDependencies += "org.slf4j" % "slf4j-simple" % "1.7.25",
libraryDependencies += "com.google.guava" % "guava" % "28.0-jre",
libraryDependencies += "au.id.tmm.tmm-utils" %% "tmm-utils-testing" % tmmUtilsVersion % Test,
)
lazy val circe = project
.in(file("circe"))
.settings(settingsHelper.settingsForSubprojectCalled("circe"))
.settings(circeDependency)
.settings(
libraryDependencies += "au.id.tmm.probability" %% "probability-measure-circe" % probabilityVersion,
)
.dependsOn(core)
addCommandAlias("check", ";+test;scalafmtCheckAll")