-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
76 lines (60 loc) · 2.27 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name := "Clustering"
version := "1.0"
scalaVersion := "2.12.1"
// documentation settings
scalacOptions in (Compile,doc) ++= Seq("-groups", "-implicits")
javacOptions in (Compile,doc) ++= Seq("-notimestamp", "-linksource")
autoAPIMappings := true
// set documentation target directory
target in Compile in doc := baseDirectory.value / "docs"
// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
val akkaVersion = "2.4.17"
val akkaHttpVersion = "10.0.5"
val jrubyVersion = "9.1.8.+"
val sbtIoVersion = "1.0.0-+"
val junitVersion = "4.10"
val json4sVersion = "3.5.1"
val cloningVersion = "1.9.3"
libraryDependencies ++= Seq(
// database
"mysql" % "mysql-connector-java" % "5.1.24",
// httpclient
"org.apache.httpcomponents" % "httpclient" % "4.5.3",
// json
"com.google.code.gson" % "gson" % "1.7.1",
// config parser
"com.github.scopt" %% "scopt" % "3.5.0",
// logger
"ch.qos.logback" % "logback-classic" % "1.2.2",
"org.codehaus.janino" % "janino" % "2.6.1",
// akka
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-agent" % akkaVersion,
"com.typesafe.akka" %% "akka-camel" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-metrics" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-sharding" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-tools" % akkaVersion,
"com.typesafe.akka" %% "akka-remote" % akkaVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
// akka-http
"com.typesafe.akka" %% "akka-http-core" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-jackson" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-xml" % akkaHttpVersion,
// jruby
"org.jruby" % "jruby-complete" % jrubyVersion,
//Sbt-IO
"org.scala-sbt" %% "io" % sbtIoVersion,
//JUnit
"junit" % "junit" % junitVersion,
// cloning
"uk.com.robust-it" % "cloning" % cloningVersion
)
//assemblyMergeStrategy in assembly := {
// case PathList("META-INF", xs @ _*) => MergeStrategy.discard
// case x => MergeStrategy.first
//}