-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbuild.sbt
31 lines (24 loc) · 866 Bytes
/
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
import Settings._
import Testing._
lazy val root = project.in(file("."))
.settings(
name := "leonardo",
publish / skip := true
).aggregate(core, http, automation, pact4s)
lazy val core = project.in(file("core"))
.settings(coreSettings)
lazy val http = project.in(file("http"))
.settings(httpSettings)
.dependsOn(core % "test->test;compile->compile")
.withTestSettings
lazy val automation = project.in(file("automation"))
.settings(automationSettings)
.dependsOn(core % "test->test;compile->compile")
lazy val pact4s = project.in(file("pact4s"))
.settings(pact4sSettings)
.dependsOn(http % "test->test;compile->compile")
assembly / assemblyMergeStrategy := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}
ThisBuild / scalafixDependencies += "org.scalatest" %% "autofix" % "3.1.0.1"