2015-05-12 06:25:11 +08:00
|
|
|
|
|
|
|
name := "apps"
|
|
|
|
|
|
|
|
organization := "org.bigbluebutton"
|
|
|
|
|
|
|
|
version := "0.1-SNAPSHOT"
|
|
|
|
|
2015-05-14 04:23:49 +08:00
|
|
|
scalaVersion := "2.11.6"
|
2015-05-12 06:25:11 +08:00
|
|
|
|
|
|
|
scalacOptions ++= Seq(
|
|
|
|
"-unchecked",
|
|
|
|
"-deprecation",
|
|
|
|
"-Xlint",
|
|
|
|
"-Ywarn-dead-code",
|
|
|
|
"-language:_",
|
2015-05-14 04:23:49 +08:00
|
|
|
"-target:jvm-1.7",
|
2015-05-12 06:25:11 +08:00
|
|
|
"-encoding", "UTF-8"
|
|
|
|
)
|
|
|
|
|
|
|
|
resolvers ++= Seq(
|
|
|
|
"spray repo" at "http://repo.spray.io/",
|
2015-05-14 04:23:49 +08:00
|
|
|
"rediscala" at "http://dl.bintray.com/etaty/maven",
|
|
|
|
"blindside-repos" at "http://blindside.googlecode.com/svn/repository/"
|
2015-05-12 06:25:11 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/dev/repo/maven-repo/releases" )) )
|
|
|
|
|
|
|
|
// We want to have our jar files in lib_managed dir.
|
|
|
|
// This way we'll have the right path when we import
|
|
|
|
// into eclipse.
|
|
|
|
retrieveManaged := true
|
|
|
|
|
|
|
|
testOptions in Test += Tests.Argument(TestFrameworks.Specs2, "html", "console", "junitxml")
|
|
|
|
|
|
|
|
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/scalatest-reports")
|
|
|
|
|
|
|
|
libraryDependencies ++= {
|
2015-05-14 04:23:49 +08:00
|
|
|
val akkaVersion = "2.3.10"
|
|
|
|
val sprayVersion = "1.3.2"
|
2015-05-12 06:25:11 +08:00
|
|
|
Seq(
|
2015-05-14 04:23:49 +08:00
|
|
|
"io.spray" %% "spray-json" % sprayVersion,
|
|
|
|
"io.spray" %% "spray-routing" % sprayVersion,
|
|
|
|
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
|
|
|
|
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test",
|
|
|
|
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
|
2015-06-05 22:54:52 +08:00
|
|
|
"ch.qos.logback" % "logback-classic" % "1.0.13" % "runtime",
|
2015-05-14 04:23:49 +08:00
|
|
|
"org.pegdown" % "pegdown" % "1.4.0",
|
|
|
|
"junit" % "junit" % "4.11",
|
|
|
|
"com.etaty.rediscala" %% "rediscala" % "1.4.0",
|
|
|
|
"commons-codec" % "commons-codec" % "1.8",
|
|
|
|
"joda-time" % "joda-time" % "2.3",
|
|
|
|
"net.virtual-void" %% "json-lenses" % "0.5.4",
|
|
|
|
"com.google.code.gson" % "gson" % "1.7.1",
|
|
|
|
"redis.clients" % "jedis" % "2.1.0",
|
|
|
|
"org.jboss.netty" % "netty" % "3.2.1.Final",
|
|
|
|
"org.apache.commons" % "commons-lang3" % "3.2"
|
2015-05-12 06:25:11 +08:00
|
|
|
)}
|
|
|
|
|
|
|
|
|
|
|
|
seq(Revolver.settings: _*)
|
|
|
|
|
2015-05-14 04:23:49 +08:00
|
|
|
scalariformSettings
|