forked from swagger-akka-http/swagger-akka-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
90 lines (72 loc) · 2.72 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
organization := "com.github.swagger-akka-http"
name := "swagger-akka-http"
scalaVersion := "2.12.2"
crossScalaVersions := Seq("2.11.11", "2.12.2")
val swaggerVersion = "1.5.15"
val akkaHttpVersion = "10.0.9"
val jacksonVersion = "2.8.9"
val slf4jVersion = "1.7.22"
checksums in update := Nil
resolvers += Resolver.sonatypeRepo("releases")
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion % "test",
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion % "test",
"io.swagger" % "swagger-core" % swaggerVersion,
"io.swagger" % "swagger-annotations" % swaggerVersion,
"io.swagger" % "swagger-models" % swaggerVersion,
"io.swagger" % "swagger-jaxrs" % swaggerVersion,
"io.swagger" %% "swagger-scala-module" % "1.0.4",
"org.slf4j" % "slf4j-api" % slf4jVersion,
"com.fasterxml.jackson.module" %% "jackson-module-scala" % jacksonVersion,
"com.fasterxml.jackson.dataformat" % "jackson-dataformat-yaml" % jacksonVersion,
"org.scalatest" %% "scalatest" % "3.0.3" % "test",
"org.json4s" %% "json4s-native" % "3.5.0" % "test",
"joda-time" % "joda-time" % "2.8" % "test",
"org.joda" % "joda-convert" % "1.7" % "test",
"org.slf4j" % "slf4j-simple" % slf4jVersion % "test"
)
testOptions in Test += Tests.Argument("-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 }
parallelExecution in Test := false
homepage := Some(url("https://github.com/swagger-akka-http/swagger-akka-http"))
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]:swagger-akka-http/swagger-akka-http.git</url>
<connection>scm:git:[email protected]:swagger-akka-http/swagger-akka-http.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>
<developer>
<id>rliebman</id>
<name>Roberto Liebman</name>
<url>https://github.com/rleibman</url>
</developer>
<developer>
<id>pjfanning</id>
<name>PJ Fanning</name>
<url>https://github.com/pjfanning</url>
</developer>
</developers>)