-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
57 lines (46 loc) · 1.52 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
import pl.project13.scala.sbt.JmhPlugin
name := "algebra"
version := "0.1"
scalaVersion := "2.12.6"
val algebraVersion = "0.7.0"
val bijectionVersion = "0.9.4"
val javaEwahVersion = "1.1.4"
val paradiseVersion = "2.1.0"
val quasiquotesVersion = "2.1.0"
val scalaTestVersion = "3.0.1"
val scalacheckVersion = "1.13.4"
val utilVersion = "6.20.0"
val utilVersion212 = "6.39.0"
val sharedSettings = Seq(
organization := "com.github.cesarcolle",
scalaVersion := "2.11.11"
)
parallelExecution in Test := true
lazy val algezebraCore: Project = project
.in(file("algezebra-core"))
.settings(sharedSettings)
.settings(
name := "algzzebra-core",
moduleName := "algzzebra-core",
description := "Machine Learning Aggregators",
libraryDependencies ++= Seq(
"com.twitter" %% "algebird-core" % "0.13.4",
"org.scalatest" %% "scalatest" % scalaTestVersion,
"com.googlecode.javaewah" % "JavaEWAH" % javaEwahVersion,
"org.scalacheck" %% "scalacheck" % scalacheckVersion
),
fork in Test := true
)
lazy val algezebraBenchmark = project
.in(file("algezebra-benchmark"))
.settings(JmhPlugin.projectSettings: _*)
.settings(sharedSettings)
.settings(coverageExcludedPackages := "com\\.github\\.cesarcolle\\.algezebra-benchmark.*")
.dependsOn(algezebraCore)
.enablePlugins(JmhPlugin)
val algezebra = Project(
id = "algezebra",
base = file("."))
.settings(sharedSettings)
.settings(coverageExcludedPackages := "<empty>;.*\\.benchmark\\..*")
.aggregate(algezebraCore, algezebraBenchmark)