-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
58 lines (43 loc) · 1.61 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
organization := "com.pongr"
name := "bangarang"
scalaVersion := "2.9.1"
resolvers ++= Seq(
"Typesafe" at "http://repo.typesafe.com/typesafe/releases"
)
libraryDependencies ++= Seq(
"com.amazonaws" % "aws-java-sdk" % "1.3.26",
"com.typesafe.akka" % "akka-actor" % "2.0.4",
"org.clapper" %% "grizzled-slf4j" % "0.6.10",
"org.specs2" %% "specs2" % "1.12.3" % "test",
"org.mockito" % "mockito-all" % "1.9.0" % "test",
"com.typesafe.akka" % "akka-testkit" % "2.0.4" % "test"
)
//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/bangarang"))
organizationName := "Pongr"
organizationHomepage := Some(url("http://pongr.com"))
description := "Not called aws-scala-sdk so we don't get sued"
pomExtra := (
<scm>
<url>[email protected]:pongr/bangarang.git</url>
<connection>scm:git:[email protected]:pongr/bangarang.git</connection>
</scm>
<developers>
<developer>
<id>zcox</id>
<name>Zach Cox</name>
<url>http://theza.ch</url>
</developer>
</developers>
)
seq(sbtrelease.Release.releaseSettings: _*)