forked from linkerd/linkerd-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
28 lines (24 loc) · 887 Bytes
/
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
def twitterUtil(mod: String) =
"com.twitter" %% s"util-$mod" % "6.45.0"
def finagle(mod: String) =
"com.twitter" %% s"finagle-$mod" % "6.45.0"
def linkerd(mod: String) =
"io.buoyant" %% s"linkerd-$mod" % "1.4.6"
val headerClassifier =
project.in(file("header-classifier")).
settings(
scalaVersion := "2.12.1",
organization := "io.buoyant",
name := "header-classifier",
resolvers ++= Seq(
"twitter" at "https://maven.twttr.com",
"local-m2" at ("file:" + Path.userHome.absolutePath + "/.m2/repository")
),
libraryDependencies ++=
finagle("http") % "provided" ::
twitterUtil("core") % "provided" ::
linkerd("core") % "provided" ::
linkerd("protocol-http") % "provided" ::
Nil,
assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false)
)