-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
32 lines (25 loc) · 804 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
29
30
31
32
name := """akka-http-redis"""
version := "1.0"
scalaVersion := "2.11.6"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http-core" % "2.4.7",
"com.typesafe.akka" %% "akka-http-experimental" % "2.4.7",
"com.github.etaty" %% "rediscala" % "1.6.0")
// new repo on maven.org
libraryDependencies += "com.github.etaty" %% "rediscala" % "1.6.0"
lazy val commonSettings = Seq(
version := "0.1-SNAPSHOT",
organization := "com.example",
scalaVersion := "2.10.1",
test in assembly := {}
)
lazy val app = (project in file("app")).
settings(commonSettings: _*).
settings(
mainClass in assembly := Some("com.example.Server")
)
lazy val utils = (project in file("utils")).
settings(commonSettings: _*).
settings(
assemblyJarName in assembly := "akka-http-redis.jar"
)