-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
72 lines (47 loc) · 2.06 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
name := "spray-kamon-metrics"
homepage := Some(url("https://monsantoco.github.io/spray-kamon-metrics"))
organization := "com.monsanto.arch"
organizationHomepage := Some(url("http://engineering.monsanto.com/"))
startYear := Some(2015)
description := "Better Kamon metrics for Spray services"
licenses += "BSD" → url("http://opensource.org/licenses/BSD-3-Clause")
scalaVersion := "2.11.11"
scalacOptions ++= Seq(
"-deprecation",
"-unchecked"
)
val akkaVersion = "2.4.17"
val kamonVersion = "0.6.6"
val sprayVersion = "1.3.4"
libraryDependencies ++= Seq(
"com.typesafe" % "config" % "1.3.1",
"io.kamon" %% "kamon-core" % kamonVersion,
"io.spray" %% "spray-can" % sprayVersion % "provided",
"io.spray" %% "spray-routing" % sprayVersion % "provided",
"org.scalatest" %% "scalatest" % "3.0.3" % "test",
"ch.qos.logback" % "logback-classic" % "1.2.3" % "test",
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion % "test",
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test"
)
dependencyOverrides := Set(
"com.typesafe" % "config" % "1.3.1"
)
fork in Test := true
javaOptions in Test += s"-DTARGET_DIR=${(target in Test).value.absolutePath}"
// We have to ensure that Kamon starts/stops serially
parallelExecution in Test := false
bintrayOrganization := Some("monsanto")
bintrayPackageLabels := Seq("kamon", "spray", "metrics")
bintrayVcsUrl := Some("https://github.com/MonsantoCo/spray-kamon-metrics")
enablePlugins(GhpagesPlugin)
git.remoteRepo := "[email protected]:MonsantoCo/spray-kamon-metrics.git"
apiMappingsScala := Map(
("com.typesafe.akka", "akka-actor") → "http://doc.akka.io/api/akka/%s"
)
apiMappingsJava := Map(
("com.typesafe", "config") → "http://typesafehub.github.io/config/latest/api"
)
apiURL := Some(url(s"https://monsantoco.github.io/spray-kamon-metrics/api/${(version in ThisBuild).value}"))
enablePlugins(AsciidoctorPlugin)
enablePlugins(SiteScaladocPlugin)
siteSubdirName in SiteScaladoc := "api/snapshot"