forked from finagle/finagle-websocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
57 lines (49 loc) · 1.26 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
val buildName = "finagle-websocket"
name := buildName
lazy val buildSettings = Seq(
organization := "com.novolabs",
scalaVersion := "2.12.9",
version := "2.0.0-SNAPSHOT"
)
lazy val compilerOptions = Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-unchecked",
"-language:existentials",
"-Xfatal-warnings",
"-language:implicitConversions",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-value-discard",
"-Ywarn-unused-import",
"-Ypartial-unification",
"-Xfuture"
)
lazy val versions = new {
val finagle = "19.8.0"
val scalaTest = "3.0.1"
}
lazy val testDependencies = Seq(
"org.scalatest" %% "scalatest" % versions.scalaTest
)
libraryDependencies ++= {
Seq(
//"com.twitter" % "finagle-core_2.12" % "19.8.0"
"com.twitter" % "finagle-core_2.12" % versions.finagle,
"com.twitter" % "finagle-netty4_2.12" % versions.finagle
)
}
resolvers ++= Seq(
"Twitter Maven repo" at "http://maven.twttr.com/",
Resolver.mavenLocal
)
lazy val vox = (project in file("."))
.configs(IntegrationTest)
.settings(
name := buildName,
libraryDependencies ++= testDependencies,
scalacOptions ++= compilerOptions,
//Compile / console / scalacOptions ++= compilerOptions,
Defaults.itSettings
)