forked from kenshoo/metrics-play
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
84 lines (67 loc) · 2.31 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
organization:= "com.kenshoo"
name := "metrics-play"
version := "2.6.2_0.6.1"
scalaVersion := "2.12.2"
crossScalaVersions := Seq("2.12.2")
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" % "3.2.4",
"io.dropwizard.metrics" % "metrics-json" % "3.2.4",
"io.dropwizard.metrics" % "metrics-jvm" % "3.2.4",
"io.dropwizard.metrics" % "metrics-logback" % "3.2.4",
"com.typesafe.play" %% "play" % "2.6.2" % "provided",
"org.joda" % "joda-convert" % "1.8.2",
//test
"com.typesafe.play" %% "play-test" % "2.6.2" % "test",
"com.typesafe.play" %% "play-specs2" % "2.6.2" % "test",
"org.specs2" %% "specs2" % "2.4.17" % "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>git@github.com:kenshoo/metrics-play.git</url>
<connection>scm:git@github.com:kenshoo/metrics-play.git</connection>
</scm>
<developers>
<developer>
<name>Ran Nisim</name>
<email>rannisim@gmail.com</email>
<roles>
<role>Author</role>
</roles>
<organization>Kenshoo</organization>
</developer>
<developer>
<name>Lior Harel</name>
<email>harel.lior@gmail.com</email>
<roles>
<role>Author</role>
</roles>
<organization>Kenshoo</organization>
</developer>
</developers>
)