-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
49 lines (39 loc) · 1.91 KB
/
Copy pathbuild.sbt
File metadata and controls
49 lines (39 loc) · 1.91 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
49
import sbt.Keys.publishTo
name := "samatra-testing"
lazy val commonSettings = Seq(
organization := "com.westernsam",
scalaVersion := "2.13.4",
scalacOptions ++= Seq("-unchecked", "-deprecation:false", "-feature", "-Xfatal-warnings", "-Xlint"),
testOptions ++= Tests.Argument("-oDF") :: Tests.Argument(TestFrameworks.ScalaTest, "-u", "target/reports/") :: Nil,
trapExit := false,
cancelable in Global := true,
publish := {},
resolvers ++= Seq(
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/",
"jitpack" at "https://jitpack.io"
),
publishMavenStyle := true,
publishTo := {
Some(Resolver.file("Local Maven Repository", new File(Path.userHome.absolutePath + "~/.m2/repository")))
}
)
lazy val `samatra-testing-core` = project.in(file("samatra-testing-core"))
.settings(commonSettings: _*)
lazy val `samatra-testing-unit` = project.in(file("samatra-testing-unit"))
.settings(commonSettings: _*)
.dependsOn(`samatra-testing-core`)
lazy val `samatra-testing-asynchttp` = project.in(file("samatra-testing-asynchttp"))
.settings(commonSettings: _*)
.dependsOn(`samatra-testing-core`)
lazy val `samatra-testing-jetty` = project.in(file("samatra-testing-jetty"))
.settings(commonSettings: _*)
.dependsOn(`samatra-testing-asynchttp`)
lazy val `samatra-testing-wiremock` = project.in(file("samatra-testing-wiremock"))
.settings(commonSettings: _*)
.dependsOn(`samatra-testing-asynchttp`, `samatra-testing-jetty` % "compile->test")
lazy val `samatra-testing-htmlunitdriver` = project.in(file("samatra-testing-htmlunitdriver"))
.settings(commonSettings: _*)
.dependsOn(`samatra-testing-asynchttp`)
val `samatra-testing`: sbt.Project = project.in(file("."))
.settings(commonSettings: _*)
.aggregate(`samatra-testing-core`, `samatra-testing-unit`, `samatra-testing-asynchttp`, `samatra-testing-jetty`, `samatra-testing-wiremock`, `samatra-testing-htmlunitdriver`)