-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.sbt
49 lines (36 loc) · 1.29 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
name := "prout"
version := "1.0-SNAPSHOT"
scalaVersion := "2.11.4"
herokuAppName in Compile := "prout-bot"
herokuJdkVersion in Compile := "1.8"
buildInfoSettings
sourceGenerators in Compile <+= buildInfo
buildInfoKeys := Seq[BuildInfoKey](
name,
BuildInfoKey.constant("gitCommitId", Option(System.getenv("BUILD_VCS_NUMBER")) getOrElse(try {
"git rev-parse HEAD".!!.trim
} catch {
case e: Exception => "unknown"
}))
)
buildInfoPackage := "app"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
libraryDependencies ++= Seq(
cache,
filters,
ws,
"com.typesafe.akka" %% "akka-agent" % "2.3.2",
"org.webjars" % "bootstrap" % "3.2.0",
"com.madgag" % "github-api" % "1.59.99.1",
"com.github.nscala-time" %% "nscala-time" % "1.4.0",
"com.netaporter" %% "scala-uri" % "0.4.2",
"com.squareup.okhttp" % "okhttp" % "2.0.0",
"com.squareup.okhttp" % "okhttp-urlconnection" % "2.0.0",
"com.github.scala-incubator.io" %% "scala-io-file" % "0.4.3-1",
"org.eclipse.jgit" % "org.eclipse.jgit" % "3.5.1.201410131835-r",
"com.madgag.scala-git" %% "scala-git" % "2.7",
"com.madgag.scala-git" %% "scala-git-test" % "2.5" % "test",
"org.scalatestplus" %% "play" % "1.1.0" % "test"
)
sources in (Compile,doc) := Seq.empty
publishArtifact in (Compile, packageDoc) := false