-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
45 lines (40 loc) · 1.2 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
val stripeResolver = "Internal Stripe Nexus" at "https://nexus-content.corp.stripe.com:446/groups/public"
lazy val commonSettings = Seq(
organization := "com.stripe",
scalaVersion := "2.11.7",
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-unchecked",
"-optimize"
),
maxErrors := 8,
resolvers ++= Seq(
stripeResolver,
Opts.resolver.sonatypeSnapshots,
Opts.resolver.sonatypeReleases
),
autoAPIMappings := true
)
// Versions:
val summingbirdVersion = "0.9.1"
val scalaCheckVersion = "1.12.2"
val scalatestVersion = "2.2.4"
def summingbird(module: String) =
"com.twitter" %% "summingbird-%s".format(module) % summingbirdVersion
//
lazy val scalacheck = "org.scalacheck" %% "scalacheck" % "1.12.0"
lazy val root = project.in(file(".")).
settings(commonSettings: _*).
settings(Publish.settings: _*).
settings(
name := "summingbird-nsq",
libraryDependencies ++= Seq(
summingbird("core"),
summingbird("online"),
summingbird("storm"),
"com.github.dustismo" % "trendrr-nsq-client" % "1.4-SNAPSHOT",
"org.scalacheck" %% "scalacheck" % scalaCheckVersion % "test",
"org.scalatest" %% "scalatest" % scalatestVersion % "test"
)
)