-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
52 lines (37 loc) · 1.19 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
name := "Play-JsonAPI"
organization := "com.rmn"
organizationName := "RetailMeNot"
version := "0.2-SNAPSHOT"
scalaVersion := "2.11.6"
libraryDependencies ++= Seq(
"com.typesafe.play" % "play-json_2.11" % "2.5.12",
"org.specs2" %% "specs2-core" % "2.4.17" % "test"
)
licenses := Seq("MIT License" -> url("https://opensource.org/licenses/MIT"))
homepage := Some(url("https://github.com/RetailMeNotSandbox/play-jsonapi"))
scmInfo := Some(
ScmInfo(
url("https://github.com/RetailMeNotSandbox/play-jsonapi"),
"scm:git@github.com:RetailMeNotSandbox/play-jsonapi.git"
)
)
developers := List(
Developer(
id = "talton",
name = "Thomas Alton",
email = "talton@rmn.com",
url = url("https://github.com/moatra")
)
)
// http://www.scala-sbt.org/release/docs/Using-Sonatype.html
pomIncludeRepository := { _ => false }
publishArtifact in Test := false
publishMavenStyle := true
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
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")
}