/
Build.scala
46 lines (34 loc) · 1.89 KB
/
Build.scala
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
import sbt._
import Keys._
import play.Play.autoImport._
import PlayKeys._
object ApplicationBuild extends Build {
val appName = "megamgateway"
val appVersion = "0.6.0"
val organization = "Megam Systems"
val homepage = Some(url("http://www.gomegam.com"))
val startYear = Some(2014)
val description = "Megam Gateway :REST API server for the megam platform using Riak, Snowflake(UID), Memcache"
val play2AuthVersion = "0.13.0"
val megam_commonVersion = "0.5.6"
val appDependencies = Seq(
javaCore, cache, javaEbean, filters,
"com.stackmob" % "scaliak_2.10" % "0.10.0-SNAPSHOT" from "https://s3-ap-southeast-1.amazonaws.com/megampub/0.5/jars/scaliak_2.10-0.10.0-SNAPSHOT.jar",
"com.github.indykish" %% "megam_common" % megam_commonVersion,
"com.github.mumoshu" %% "play2-memcached" % "0.6.0",
"jp.t2v" %% "play2-auth" % play2AuthVersion,
"org.yaml" % "snakeyaml" % "1.13",
"com.stackmob" %% "newman" % "1.3.5" % "test")
val root = Project(appName, file(".")).enablePlugins(play.PlayScala).settings(
version := appVersion,
libraryDependencies ++= appDependencies,
sbt.Keys.resolvers += "Sonatype Snapshots" at Opts.resolver.sonatypeSnapshots.root,
sbt.Keys.resolvers += "Sonatype Releases" at Opts.resolver.sonatypeStaging.root,
sbt.Keys.resolvers += "Typesafe Snapshots" at "http://repo.typesafe.com/typesafe/snapshots/",
sbt.Keys.resolvers += "Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases",
sbt.Keys.resolvers += "Scala-Tools Maven2 Snapshots Repository" at "http://scala-tools.org/repo-snapshots",
sbt.Keys.resolvers += "Twitter Repo" at "http://maven.twttr.com", // finagle
sbt.Keys.resolvers += "Spray repo" at "http://repo.spray.io", //spray client used in newman.
sbt.Keys.resolvers += "Spy Repository" at "http://files.couchbase.com/maven2" // required to resolve `spymemcached`, the plugin's dependency.
)
}