-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
70 lines (63 loc) · 2.01 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
59
60
61
62
63
64
65
66
67
68
69
70
ThisBuild / parallelExecution := false
val versions = Map(
"droste" -> "0.9.0",
"scalatest" -> "3.2.12"
)
lazy val fixonAST = (project in file("ast"))
.settings(Settings.common)
.settings(
name := "fixon-ast",
libraryDependencies ++= Seq(
"org.typelevel" %% "alleycats-core" % "2.7.0",
"io.higherkindness" %% "droste-core" % versions("droste"),
"org.scalatest" %% "scalatest" % versions("scalatest") % Test
)
)
lazy val fixonOps = (project in file("ops"))
.dependsOn(fixonAST)
.settings(Settings.common)
.settings(
name := "fixon-ops",
libraryDependencies ++= Seq(
"org.apache.commons" % "commons-text" % "1.9",
"org.scalatest" %% "scalatest" % versions("scalatest") % Test
)
)
lazy val fixonCirce = (project in file("circe"))
.dependsOn(fixonAST)
.settings(Settings.common)
.settings(
name := "fixon-circe",
libraryDependencies ++= Seq(
"io.circe" %% "circe-core" % "0.14.1",
"org.scalatest" %% "scalatest" % versions("scalatest") % Test
)
)
lazy val fixonParserAtto = (project in file("parser-atto"))
.dependsOn(fixonAST, fixonOps % "test->compile")
.settings(Settings.common)
.settings(
name := "fixon-parser-atto",
libraryDependencies ++= Seq(
"org.tpolecat" %% "atto-core" % "0.9.5",
"org.scalatest" %% "scalatest" % versions("scalatest") % Test
)
)
lazy val fixonParserParboiled = (project in file("parser-parboiled"))
.dependsOn(fixonAST, fixonOps % "test->compile")
.settings(Settings.common)
.settings(
name := "fixon-parser-parboiled",
libraryDependencies ++= Seq(
"org.parboiled" %% "parboiled" % "2.5.0",
"org.scalatest" %% "scalatest" % versions("scalatest") % Test
)
)
lazy val root = (project in file("."))
.dependsOn(fixonAST, fixonOps, fixonCirce, fixonParserAtto, fixonParserParboiled)
.aggregate(fixonAST, fixonOps, fixonCirce, fixonParserAtto, fixonParserParboiled)
.settings(Settings.common)
.settings(
publish := {},
publishArtifact := false
)