-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
61 lines (44 loc) · 1.61 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
organization := "com.github.pjfanning"
name := "micrometer-kamon"
scalaVersion := "2.12.6"
crossScalaVersions := Seq("2.11.12", "2.12.6")
scalacOptions += "-target:jvm-1.8"
resolvers += Resolver.bintrayRepo("kamon-io", "releases")
val kamonVersion = "1.1.3"
val micrometerVersion = "1.0.5"
libraryDependencies ++= Seq(
"io.micrometer" % "micrometer-core" % micrometerVersion,
"io.kamon" %% "kamon-core" % kamonVersion,
"com.typesafe" % "config" % "1.3.3",
"org.scalatest" %% "scalatest" % "3.0.5" % "test",
"ch.qos.logback" % "logback-classic" % "1.2.3" % "test"
)
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oD")
parallelExecution in Test := false
logBuffered := false
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
homepage := Some(url("https://github.com/pjfanning/micrometer-kamon"))
licenses := Seq("The Apache Software License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
releasePublishArtifactsAction := PgpKeys.publishSigned.value
pomExtra := (
<scm>
<url>[email protected]:pjfanning/micrometer-kamon.git</url>
<connection>scm:git:[email protected]:pjfanning/micrometer-kamon.git</connection>
</scm>
<developers>
<developer>
<id>pjfanning</id>
<name>PJ Fanning</name>
<url>https://github.com/pjfanning</url>
</developer>
</developers>
)