-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
58 lines (51 loc) · 1.51 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
// for the visualization part
lazy val circe = {
val circeVersion = "0.14.1"
Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic"
).map(_ % circeVersion)
}
lazy val munit = Seq("org.scalameta" %% "munit" % "0.7.29" % Test)
lazy val baseSettings = Seq(
scalaVersion := "3.1.2",
libraryDependencies ++= circe ++ munit,
testFrameworks += new TestFramework("munit.Framework"),
organization := "com.github.masseguillaume",
homepage := Some(url("https://github.com/MasseGuillaume/porc-epic")),
licenses := List(License.MIT),
developers := List(
Developer(
"MasseGuillaume",
"Guillaume Massé",
url("https://github.com/masseguillaume")
)
)
)
lazy val root = project.in(file("."))
.settings(baseSettings)
.aggregate(porcEpic, integration, bench)
.dependsOn(porcEpic, integration, bench)
lazy val porcEpic = project
.in(file("porc-epic"))
.settings(baseSettings)
lazy val integration = project
.in(file("integration"))
.settings(baseSettings)
.settings(
libraryDependencies ++= Seq("org.typelevel" %% "cats-parse" % "0.3.7"),
Test / parallelExecution := false,
Test / fork := true,
Test / javaOptions += "-Xmx4G",
buildInfoPackage := "build",
buildInfoKeys ++= Seq[BuildInfoKey](
"porcupine" -> file("porcupine").getAbsolutePath
)
)
.dependsOn(porcEpic)
.enablePlugins(BuildInfoPlugin)
lazy val bench = project
.settings(baseSettings)
.dependsOn(porcEpic, integration)
.enablePlugins(JmhPlugin)