-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
47 lines (32 loc) · 1.23 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
scalaVersion := "2.11.7"
name := """mqtt"""
organization := "com.ruimo"
version := "1.3-SNAPSHOT"
publishTo := Some(
Resolver.file(
"mqtt",
new File(Option(System.getenv("RELEASE_DIR")).getOrElse("/tmp"))
)
)
// Change this to another test framework if you prefer
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test"
// Uncomment to use Akka
//libraryDependencies += "com.typesafe.akka" % "akka-actor_2.11" % "2.3.9"
scalacOptions in Test ++= Seq("-Yrangepos")
resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
resolvers += "Eclipse paho" at "https://repo.eclipse.org/content/repositories/paho-releases/"
resolvers += "ruimo.com" at "http://static.ruimo.com/release"
// Eclipse paho
libraryDependencies += "org.eclipse.paho" % "org.eclipse.paho.client.mqttv3" % "1.0.2"
// mqtt-client
libraryDependencies += "org.fusesource.mqtt-client" % "mqtt-client" % "1.12"
// Logging
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-core" % "1.1.3",
"ch.qos.logback" % "logback-classic" % "1.1.3",
"org.slf4j" % "slf4j-api" % "1.7.12",
"org.specs2" %% "specs2-core" % "3.5" % "test"
)
// Ruimo scoins
libraryDependencies += "com.ruimo" %% "scoins" % "1.2"
scalacOptions += "-feature"