-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.sbt
36 lines (25 loc) · 890 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
33
34
35
36
import AssemblyKeys._
import NativePackagerKeys._
assemblySettings
packageArchetype.java_application
name := "ircslackrelay"
version := "1.3.4"
scalaVersion := "2.11.2"
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
libraryDependencies ++= List(
"org.slf4j" % "slf4j-nop" % "1.6.4",
"com.typesafe" % "config" % "1.2.1",
"com.sorcix" % "sirc" % "1.1.5",
"com.typesafe.akka" %% "akka-actor" % "2.3.6",
"com.typesafe.akka" %% "akka-slf4j" % "2.3.6",
"net.databinder.dispatch" %% "dispatch-core" % "0.11.2"
)
mainClass in assembly := Some("org.soichiro.ircslackrelay.Main")
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case PathList("com", "sorcix", "sirc", xs @ _*) => MergeStrategy.first
case x => old(x)
}
}
javacOptions ++= Seq("-source", "1.7", "-target", "1.7")
scalacOptions += "-target:jvm-1.7"