-
Notifications
You must be signed in to change notification settings - Fork 74
/
build.sbt
92 lines (69 loc) · 2.45 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
organization:= "com.kenshoo"
name := "metrics-play"
scalaVersion := "2.13.0"
crossScalaVersions := Seq(scalaVersion.value, "2.12.8")
val playVersion = "2.7.3"
val metricsPlayVersion = "0.8.2"
val dropwizardVersion = "4.0.5"
version := s"${playVersion}_${metricsPlayVersion}"
scalacOptions := Seq("-unchecked", "-deprecation")
testOptions in Test += Tests.Argument("junitxml", "console")
parallelExecution in Test := false
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
resolvers += "specs2" at "https://mvnrepository.com/artifact/org.specs2/specs2_2.12"
libraryDependencies ++= Seq(
"io.dropwizard.metrics" % "metrics-core" % dropwizardVersion,
"io.dropwizard.metrics" % "metrics-json" % dropwizardVersion,
"io.dropwizard.metrics" % "metrics-jvm" % dropwizardVersion,
"io.dropwizard.metrics" % "metrics-logback" % dropwizardVersion,
"com.typesafe.play" %% "play" % playVersion % Provided,
"org.joda" % "joda-convert" % "2.2.0",
//Test
"com.typesafe.play" %% "play-test" % playVersion % Test,
"com.typesafe.play" %% "play-specs2" % playVersion % Test
)
publishMavenStyle := true
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
credentials += Credentials(Path.userHome / ".m2" / ".credentials")
pomIncludeRepository := { _ => false }
publishArtifact in Test := false
pomExtra := (
<url>https://github.com/kenshoo/metrics-play</url>
<inceptionYear>2013</inceptionYear>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<scm>
<url>[email protected]:kenshoo/metrics-play.git</url>
<connection>scm:[email protected]:kenshoo/metrics-play.git</connection>
</scm>
<developers>
<developer>
<name>Ran Nisim</name>
<email>[email protected]</email>
<roles>
<role>Author</role>
</roles>
<organization>Kenshoo</organization>
</developer>
<developer>
<name>Lior Harel</name>
<email>[email protected]</email>
<roles>
<role>Author</role>
</roles>
<organization>Kenshoo</organization>
</developer>
</developers>
)