forked from Synesso/eshq-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
54 lines (44 loc) · 1.55 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
organization := "com.github.synesso"
name := "eshq"
scalaVersion := "2.10.2"
version := "0.1"
libraryDependencies ++= Seq(
"net.databinder.dispatch" %% "dispatch-core" % "0.11.0",
"org.slf4j" % "slf4j-simple" % "1.7.5",
"org.json4s" %% "json4s-jackson" % "3.2.5",
"org.specs2" %% "specs2" % "2.2" % "test",
"org.hamcrest" % "hamcrest-all" % "1.3" % "test",
"org.scalacheck" %% "scalacheck" % "1.10.0" % "test",
"org.mockito" % "mockito-all" % "1.9.5" % "test"
)
resolvers ++= Seq(
"Sonatype OSS Releases" at "http://oss.sonatype.org/content/repositories/releases/",
"Sonatype OSS Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
)
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 }
pomExtra := (
<url>http://github.com/Synesso/eshq-client</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:Synesso/eshq-client.git</url>
<connection>scm:git:[email protected]:Synesso/eshq-client.git</connection>
</scm>
<developers>
<developer>
<id>jmawson</id>
<name>Jem Mawson</name>
</developer>
</developers>)