-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.sbt
81 lines (60 loc) · 2.6 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name := "happymelly-teller"
version := "1.7-SNAPSHOT"
scalaVersion := "2.11.7"
scalacOptions += "-feature"
lazy val root = (project in file(".")).enablePlugins(PlayScala, SbtWeb)
libraryDependencies ++= Seq(
cache,
ws,
filters,
specs2 % Test,
"be.objectify" %% "deadbolt-scala" % "2.4.2",
"com.andersen-gott" %% "scravatar" % "1.0.3", //gravatar support
"com.sksamuel.scrimage" %% "scrimage-core" % "2.1.5", //image resizing
"com.github.mumoshu" %% "play2-memcached-play24" % "0.7.0",
"com.github.tototoshi" %% "slick-joda-mapper" % "2.1.0",
"com.typesafe.play" %% "play-slick" % "1.1.1",
"com.typesafe.play" %% "play-slick-evolutions" % "1.1.1",
"com.typesafe.play" %% "play-mailer" % "3.0.1",
"joda-time" % "joda-time" % "2.8.1",
"org.joda" % "joda-convert" % "1.8",
"mysql" % "mysql-connector-java" % "5.1.34",
"org.apache.poi" % "poi" % "3.14",
"org.apache.poi" % "poi-ooxml" % "3.14",
"org.joda" % "joda-money" % "0.11",
"org.jsoup" % "jsoup" % "1.7.3",
// as we use a customized SecureSocial module
"org.mindrot" % "jbcrypt" % "0.3m",
"org.pegdown" % "pegdown" % "1.6.0",
"org.planet42" %% "laika-core" % "0.5.1",
"org.specs2" %% "specs2" % "3.7" % Test,
"org.scalamock" %% "scalamock-specs2-support" % "3.2.2" % Test,
"org.twitter4j" % "twitter4j-core" % "4.0.4",
"net.databinder.dispatch" %% "dispatch-core" % "0.11.3",
"net.kaliber" %% "play-s3" % "7.0.2" //s3 amazon support
)
routesGenerator := InjectedRoutesGenerator
libraryDependencies += evolutions
resolvers += Resolver.sonatypeRepo("releases")
resolvers += "Kaliber Internal Repository" at "https://jars.kaliber.io/artifactory/libs-release-local"
resolvers += "Spy Repository" at "http://files.couchbase.com/maven2"
resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
routesImport += "binders._"
herokuAppName in Compile := Map(
"test" -> "teller-test",
"prod" -> "teller-prod"
).getOrElse(sys.props("appEnv"), "teller-test")
herokuIncludePaths in Compile := Seq(
"app", "conf", "lib", "public"
)
herokuProcessTypes in Compile := Map(
"web" -> "target/universal/stage/bin/happymelly-teller -Dconfig.file=conf/$CONF_FILENAME -Dhttp.port=$PORT"
)
// disable publishing the main API jar
publishArtifact in(Compile, packageDoc) := false
// disable publishing the main sources jar
publishArtifact in(Compile, packageSrc) := false
ScoverageSbtPlugin.ScoverageKeys.coverageHighlighting in Test := false
ScoverageSbtPlugin.ScoverageKeys.coverageExcludedPackages in Test := "<empty>;Reverse.*;.*AuthService.*;models\\.database\\..*;.*routes_.*"
sources in(Compile, doc) := Seq.empty
fork in run := true