forked from shawjef3/digitalocean
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
51 lines (38 loc) · 1.25 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
//For dependency graphs.
//https://github.com/jrudolph/sbt-dependency-graph
net.virtualvoid.sbt.graph.Plugin.graphSettings
name := "digitalocean"
organization := "me.jeffshaw"
version := "0.7"
libraryDependencies ++= Seq(
"net.databinder.dispatch" %% "dispatch-core" % "0.11.2",
"org.json4s" %% "json4s-native" % "3.2.11",
"com.typesafe" % "config" % "1.2.1" % "test",
"org.scalatest" %% "scalatest" % "2.2.4" % "test"
)
scalaVersion := "2.11.5"
crossScalaVersions := Seq("2.10.4")
publishMavenStyle := true
publishTo := {
val nexus = "http://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
licenses := Seq("Apache License, Version 2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://github.com/shawjef3/digitalocean"))
pomExtra := (
<developers>
<developer>
<name>Jeff Shaw</name>
<id>shawjef3</id>
</developer>
</developers>
<scm>
<url>git@github.com:shawjef3/digitalocean.git</url>
<connection>scm:git:git@github.com:shawjef3/digitalocean.git</connection>
</scm>
)
pomIncludeRepository := { _ => false }
xerial.sbt.Sonatype.sonatypeSettings