forked from samstarling/finagle-prometheus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
60 lines (48 loc) · 1.64 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
import org.scoverage.coveralls.Imports.CoverallsKeys._
name := "finagle-prometheus"
lazy val commonSettings = Seq(
organization := "com.samstarling",
scalaVersion := "2.12.6",
licenses += ("MIT", url("http://opensource.org/licenses/MIT"))
)
// crossScalaVersions := Seq("2.11.11", "2.12.6")
organization := "com.samstarling"
val finagleVersion = "19.4.0"
libraryDependencies ++= Seq(
"com.twitter" %% "finagle-core" % finagleVersion,
"com.twitter" %% "finagle-http" % finagleVersion,
"com.twitter" %% "finagle-stats" % finagleVersion,
"io.prometheus" % "simpleclient" % "0.5.0",
"io.prometheus" % "simpleclient_common" % "0.5.0",
"org.specs2" %% "specs2-core" % "4.3.3" % "test",
"org.specs2" %% "specs2-mock" % "4.3.3" % "test"
)
parallelExecution in Test := true
parallelExecution in ThisBuild := false
lazy val core = (project in file("."))
.settings(commonSettings: _*)
.settings(coverageEnabled := false,
coverallsTokenFile := Some("src/test/resources/coveralls-key.txt"),
releaseCrossBuild := true)
lazy val examples = (project in file("examples"))
.settings(commonSettings: _*)
.dependsOn(core)
.settings()
lazy val root = project.aggregate(core, examples)
homepage := Some(url("https://github.com/samstarling/finagle-prometheus"))
pomExtra :=
<scm>
<connection>
scm:git:git://github.com/samstarling/finagle-prometheus.git
</connection>
<url>
https://github.com/samstarling/finagle-prometheus
</url>
</scm>
<developers>
<developer>
<id>samstarling</id>
<name>Sam Starling</name>
<email>[email protected]</email>
</developer>
</developers>