This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
/
build.sbt
71 lines (53 loc) · 2.04 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
import sbtrelease.ReleasePlugin.ReleaseKeys._
organization := "com.gettyimages"
name := "spray-swagger"
scalaVersion := "2.11.6"
libraryDependencies ++= Seq(
"io.spray" %% "spray-routing" % "1.3.3",
"io.spray" %% "spray-testkit" % "1.3.3" % "test",
"org.scalatest" %% "scalatest" % "2.2.4" % "test" ,
"com.wordnik" %% "swagger-core" % "1.3.12" excludeAll( ExclusionRule(organization = "org.json4s"), ExclusionRule(organization="org.fasterxml*") ),
"com.typesafe.akka" %% "akka-actor" % "2.3.9",
"org.json4s" %% "json4s-jackson" % "3.2.11",
"org.json4s" %% "json4s-native" % "3.2.11",
"joda-time" % "joda-time" % "2.7",
"org.joda" % "joda-convert" % "1.7",
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
"javax.ws.rs" % "jsr311-api" % "1.1.1"
)
resolvers += "spray repo" at "http://repo.spray.io"
releaseSettings
testOptions in Test += Tests.Argument("-oD")
parallelExecution in Test := false
publishMavenStyle := true
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
parallelExecution in Test := false
homepage := Some(url("https://github.com/gettyimages/spray-swagger"))
licenses := Seq("The Apache Software License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
net.virtualvoid.sbt.graph.Plugin.graphSettings
publishArtifactsAction := PgpKeys.publishSigned.value
pomExtra := (
<scm>
<url>[email protected]:gettyimages/spray-swagger.git</url>
<connection>scm:git:[email protected]:gettyimages/spray-swagger.git</connection>
</scm>
<developers>
<developer>
<id>mhamrah</id>
<name>Michael Hamrah</name>
<url>http://michaelhamrah.com</url>
</developer>
<developer>
<id>efuquen</id>
<name>Edwin Fuquen</name>
<url>http://parascal.com</url>
</developer>
</developers>)