-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathDependencies.scala
26 lines (22 loc) · 1.39 KB
/
Dependencies.scala
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
import sbt.Keys._
import sbt._
object Dependencies {
private val scalatest = "org.scalatest" %% "scalatest" % "3.1.1" % "test;endToEnd"
private val scalacheck = "org.scalacheck" %% "scalacheck" % "1.14.3" % "test"
private val googleGuava = "com.google.guava" % "guava" % "19.0"
private val googleFindbugs = "com.google.code.findbugs" % "jsr305" % "2.0.3" // needed by guava
private val breeze = "org.scalanlp" %% "breeze" % "1.0"
private val breezeNatives = "org.scalanlp" %% "breeze-natives" % "1.0"
private val algebird = "com.twitter" %% "algebird-core" % "0.13.6"
private val sketches = "com.yahoo.datasketches" % "sketches-core" % "0.3.2"
private val chronicleBytes = "net.openhft" % "chronicle-bytes" % "1.2.3"
private val allocationInstrumenter = "com.google.code.java-allocation-instrumenter" % "java-allocation-instrumenter" % "3.0.1"
private val stream = "com.clearspring.analytics" % "stream" % "2.7.0"
private val common = dependencies()
val bloomfilter = common
val sandbox = common ++ dependencies(chronicleBytes)
val sandboxApp = common ++ dependencies(allocationInstrumenter, algebird)
val tests = common ++ dependencies(scalatest, scalacheck)
val benchmarks = common ++ dependencies(googleGuava, googleFindbugs, breeze, breezeNatives, algebird, sketches, stream)
private def dependencies(modules: ModuleID*): Seq[Setting[_]] = Seq(libraryDependencies ++= modules)
}