-
Notifications
You must be signed in to change notification settings - Fork 237
/
build.sbt
103 lines (79 loc) · 3.37 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
import Shared._
ThisBuild / crossScalaVersions := Seq("2.13.7", "2.12.15")
ThisBuild / scalaVersion := crossScalaVersions.value.head
publishArtifact := false
Test / compile / coverageEnabled := true
Compile / compile / coverageEnabled := false
ThisBuild / coverageMinimumStmtTotal := 70.0
ThisBuild / coverageFailOnMinimum := true
ThisBuild / fork := true
ThisBuild / parallelExecution := false
ThisBuild / updateOptions := updateOptions.value.withCachedResolution(true)
Global / concurrentRestrictions := Seq(Tags.limitAll(par))
lazy val `squbs-pipeline` = project
lazy val `squbs-unicomplex` = project dependsOn (`squbs-pipeline`, `squbs-ext`)
lazy val `squbs-testkit` = (project dependsOn `squbs-unicomplex`)//.enablePlugins(de.johoop.testngplugin.TestNGPlugin)
lazy val `squbs-zkcluster` = project dependsOn `squbs-testkit` % Test
lazy val `squbs-httpclient` = project dependsOn(`squbs-ext` % "compile->compile;test->test",
`squbs-pipeline`, `squbs-testkit` % Test)
// Add SlowTest configuration to squbs-pattern to run the long-running tests.
// To run standard tests> test
// To run slow tests including all stress tests> slow:test
lazy val SlowTest = config("slow") extend Test
// Setup squbs-pattern with slow tests enabled.
// Perhaps we can do it better in future by hiding the details in the plugin.
lazy val `squbs-pattern` = (project dependsOn (`squbs-ext`, `squbs-testkit` % "test"))
.configs(SlowTest)
.settings(inConfig(SlowTest)(Defaults.testTasks): _*)
.settings(SlowTest / testOptions := Seq.empty)
.enablePlugins(spray.boilerplate.BoilerplatePlugin)
// Information for debugging tests and test launchers inside sbt.
// val DebugTest = config("dtest") extend Test
//
// lazy val myProj = project
// .configs(DebugTest).
// settings(inConfig(DebugTest)(Defaults.testSettings):_*).
// settings(
// fork in DebugTest := true,
// javaOptions in DebugTest += "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005",
// definedTests in DebugTest := (definedTests in Test).value
// )
lazy val `squbs-actorregistry` = project dependsOn (`squbs-unicomplex`, `squbs-testkit` % Test)
lazy val `squbs-actormonitor` = project dependsOn (`squbs-unicomplex`, `squbs-testkit` % Test)
lazy val `squbs-admin` = project dependsOn (`squbs-unicomplex`, `squbs-testkit` % Test)
lazy val `squbs-ext` = project dependsOn `squbs-pipeline` % "provided"
ThisBuild / pomExtra :=
<url>https://github.com/paypal/squbs</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:paypal/squbs.git</url>
<connection>scm:git:[email protected]:paypal/squbs.git</connection>
</scm>
<developers>
<developer>
<id>akara</id>
<name>Akara Sucharitakul</name>
<url>https://github.com/akara</url>
</developer>
<developer>
<id>az-qbradley</id>
<name>Qian Bradley</name>
<url>https://github.com/az-qbradley</url>
</developer>
<developer>
<id>anilgursel</id>
<name>Anil Gursel</name>
<url>https://github.com/anilgursel</url>
</developer>
<developer>
<id>sebady</id>
<name>Sherif Ebady</name>
<url>https://github.com/sebady</url>
</developer>
</developers>