forked from actorapp/sbt-actor-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
62 lines (50 loc) · 1.49 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
59
60
61
62
import scalariform.formatter.preferences._
sbtPlugin := true
organization := "im.actor"
name := "sbt-actor-api"
version := "0.7.18"
scalaVersion := "2.10.6"
scalacOptions ++= Seq("-deprecation", "-feature")
resolvers ++= Seq(
Resolver.sonatypeRepo("releases")
)
libraryDependencies ++= Seq(
"com.eed3si9n" %% "treehugger" % "0.4.1",
"com.google.protobuf" % "protobuf-java" % "3.0.0-alpha-3",
"io.spray" %% "spray-json" % "1.3.1",
"org.specs2" %% "specs2-core" % "2.4.15" % "test"
)
scalariformSettings
ScalariformKeys.preferences :=
ScalariformKeys.preferences.value
.setPreference(RewriteArrowSymbols, true)
.setPreference(AlignParameters, true)
.setPreference(AlignSingleLineCaseStatements, true)
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")
}
pomExtra := (
<url>http://github.com/actorapp/sbt-actor-api</url>
<licenses>
<license>
<name>MIT</name>
<url>http://www.opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:actorapp/sbt-actor-api.git</url>
<connection>scm:git:[email protected]:actorapp/sbt-actor-api.git</connection>
</scm>
<developers>
<developer>
<id>prettynatty</id>
<name>Andrey Kuznetsov</name>
<url>http://fear.loathing.in</url>
</developer>
</developers>
)