-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.sbt
More file actions
48 lines (44 loc) · 1.74 KB
/
Copy pathbuild.sbt
File metadata and controls
48 lines (44 loc) · 1.74 KB
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
lazy val commonSettings = Seq(
scalaVersion := "3.1.0",
organization := "mrsc",
version := "0.6.0-SNAPSHOT",
scalacOptions ++= Seq("-deprecation", "-feature"),
fork := true,
Test / baseDirectory in run := file("."),
Test / testOptions += Tests.Argument("-oD"),
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
)
lazy val MRSCCore = (project in file("mrsc-core"))
.settings(commonSettings)
.settings(
name := "mrsc-core",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.10" % "test",
)
lazy val MRSCCounters = (project in file("mrsc-counters"))
.settings(commonSettings)
.settings(
name := "mrsc-counters",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.10" % "test",
)
.dependsOn(MRSCCore)
lazy val MRSCPfp = (project in file("mrsc-pfp"))
.settings(commonSettings)
.settings(
name := "mrsc-pfp",
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "2.1.0",
libraryDependencies += ("org.scalaz" %% "scalaz-core" % "7.3.5").cross(CrossVersion.for3Use2_13),
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.10" % "test",
unmanagedBase := file("lib"),
Test / baseDirectory := file("."),
)
.dependsOn(MRSCCore % "compile->compile;test->test")
lazy val MRSCSamples = (project in file("mrsc-samples"))
.settings(commonSettings)
.settings(
name := "mrsc-samples",
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "2.1.0",
libraryDependencies += ("org.scalaz" %% "scalaz-core" % "7.3.5").cross(CrossVersion.for3Use2_13),
fork := true,
baseDirectory in run := file("."),
)
.dependsOn(MRSCCore % "test->test", MRSCPfp % "compile->compile,test->test")