forked from pongr/spracebook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
71 lines (56 loc) · 1.84 KB
/
build.sbt
File metadata and controls
71 lines (56 loc) · 1.84 KB
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
organization := "com.pongr"
name := "spracebook"
scalaVersion := "2.9.1"
resolvers ++= Seq(
"Spray" at "http://repo.spray.io/"
)
libraryDependencies ++= {
val spray = "1.0-M7"
val akka = "2.0.5"
Seq(
"io.spray" % "spray-client" % spray,
"io.spray" % "spray-json_2.9.2" % "1.2.3",
"com.typesafe.akka" % "akka-actor" % akka,
"org.clapper" %% "grizzled-slf4j" % "0.6.10",
"org.specs2" %% "specs2" % "1.12.4" % "test"
)
}
seq(sbtrelease.Release.releaseSettings: _*)
//http://www.scala-sbt.org/using_sonatype.html
//https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
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/")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
licenses := Seq("Apache-2.0" -> url("http://opensource.org/licenses/Apache-2.0"))
homepage := Some(url("http://github.com/pongr/spracebook"))
organizationName := "Pongr"
organizationHomepage := Some(url("http://pongr.com"))
description := "Scala signed requests"
pomExtra := (
<scm>
<url>git@github.com:pongr/spracebook.git</url>
<connection>scm:git:git@github.com:pongr/spracebook.git</connection>
</scm>
<developers>
<developer>
<id>zcox</id>
<name>Zach Cox</name>
<url>https://github.com/zcox</url>
</developer>
<developer>
<id>pcetsogtoo</id>
<name>Byamba Tumurkhuu</name>
<url>https://github.com/pcetsogtoo</url>
</developer>
<developer>
<id>bayarmunkh</id>
<name>Bayarmunkh Davaadorj</name>
<url>https://github.com/bayarmunkh</url>
</developer>
</developers>
)