-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
62 lines (48 loc) · 2.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
52
53
54
55
56
57
58
59
60
61
62
name := "FinatraHelloWorld"
version := "1.0"
scalaVersion := "2.11.8"
lazy val versions = new {
val finatra = "20.8.0"
val logback = "1.1.7"
val guice = "4.0"
}
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies ++= Seq(
"com.twitter" %% "finatra-http" % versions.finatra,
"ch.qos.logback" % "logback-classic" % versions.logback,
"com.twitter" %% "finatra-http" % versions.finatra % "test",
"com.twitter" %% "finatra-jackson" % versions.finatra % "test",
"com.twitter" %% "inject-server" % versions.finatra % "test",
"com.twitter" %% "inject-app" % versions.finatra % "test",
"com.twitter" %% "inject-core" % versions.finatra % "test",
"com.twitter" %% "inject-modules" % versions.finatra % "test",
"com.google.inject.extensions" % "guice-testlib" % versions.guice % "test",
"com.twitter" %% "finatra-http" % versions.finatra % "test" classifier "tests",
"com.twitter" %% "finatra-jackson" % versions.finatra % "test" classifier "tests",
"com.twitter" %% "inject-server" % versions.finatra % "test" classifier "tests",
"com.twitter" %% "inject-app" % versions.finatra % "test" classifier "tests",
"com.twitter" %% "inject-core" % versions.finatra % "test" classifier "tests",
"com.twitter" %% "inject-modules" % versions.finatra % "test" classifier "tests",
// testing
"org.mockito" % "mockito-core" % "1.9.5" % "test",
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test",
"org.scalatest" %% "scalatest" % "3.0.0" % "test",
"org.specs2" %% "specs2-mock" % "2.4.17" % "test",
"com.twitter" %% "finatra-http" % "20.8.0" % "test" classifier "tests",
"org.scalactic" %% "scalactic" % "3.2.0",
"org.scalatest" %% "scalatest" % "3.2.0" % "test",
"org.scalatest" %% "scalatest-funsuite" % "3.2.0" % "test",
"org.scalatest" %% "scalatest-propspec" % "3.2.0" % "test",
"org.scalatest" %% "scalatest-featurespec" % "3.2.0" % "test",
// click (DB library)
"com.typesafe.slick" %% "slick" % "3.0.0",
"org.slf4j" % "slf4j-nop" % "1.6.4",
// sqlite jdbc
"org.xerial" % "sqlite-jdbc" % "3.7.2"
)
//mainClass := Some("server.BasicServer")
conflictManager := ConflictManager.latestRevision