-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
50 lines (40 loc) · 1.22 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
val modules = file("modules")
publish / skip := true
val testDependencies = libraryDependencies ++= Vector(
"org.scalactic" %% "scalactic" % Version.scalaTest,
"org.scalatest" %% "scalatest" % Version.scalaTest % Test,
"org.scalameta" %% "munit" % Version.munit % Test
)
val parseDependencies2 = libraryDependencies ++= Vector(
)
val scala3Settings = scalacOptions ++= Vector(
"-Yexplicit-nulls",
"-Yshow-suppressed-errors",
"-encoding",
"utf-8",
)
val defaultSettings = testDependencies ++ scala3Settings
lazy val fix = project
.in(modules / "fix")
.settings(name := "cherry-fix")
lazy val lamr = project
.in(modules / "lamr")
.settings(name := "cherry-lamr")
.dependsOn(fix)
.settings(defaultSettings)
lazy val parse = project
.in(modules / "parse")
.settings(name := "cherry-parse")
.settings(defaultSettings)
.settings(libraryDependencies += "org.typelevel" %% "cats-parse" % Version.catsParse)
.dependsOn(lamr)
lazy val tests = project
.in(modules / "tests")
.settings(publish / skip := true)
.settings(defaultSettings)
.dependsOn(lamr, parse)
lazy val adapt = project
.in(modules / "adapt")
.settings(name := "cherry-adapt")
.settings(defaultSettings)
.dependsOn(lamr, parse)