This repository has been archived by the owner on Dec 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
69 lines (53 loc) · 1.86 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
organization := "io.argonaut"
name := "argonaut-unfiltered"
val Scala211 = "2.11.12"
scalaVersion := Scala211
crossScalaVersions := Seq("2.10.7", Scala211, "2.12.8")
val unfilteredVersion = "0.9.1"
libraryDependencies ++= Seq(
"io.argonaut" %% "argonaut" % "6.2.2",
"ws.unfiltered" %% "unfiltered" % unfilteredVersion,
"ws.unfiltered" %% "unfiltered-filter" % unfilteredVersion % "test",
"ws.unfiltered" %% "unfiltered-jetty" % unfilteredVersion % "test"
)
resolvers ++= Seq(
"java m2" at "http://download.java.net/maven/2",
"oss snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
"oss releases" at "http://oss.sonatype.org/content/repositories/releases"
)
releasePublishArtifactsAction := PgpKeys.publishSigned.value
releaseCrossBuild := true
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
licenses := Seq("BSD-3-Clause" -> url("http://www.opensource.org/licenses/BSD-3-Clause"))
homepage := Some(url("http://argonaut.io"))
pomExtra := (
<scm>
<url>git@github.com:argonaut-io/argonaut-unfiltered.git</url>
<connection>scm:git:git@github.com:argonaut-io/argonaut-unfiltered.git</connection>
</scm>
<developers>
<developer>
<id>tonymorris</id>
<name>Tony Morris</name>
<url>http://tmorris.net</url>
</developer>
<developer>
<id>mth</id>
<name>Mark Hibberd</name>
<url>http://mth.io</url>
</developer>
<developer>
<id>seanparsons</id>
<name>Sean Parsons</name>
</developer>
</developers>
)
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}