forked from guardian/prout
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
41 lines (30 loc) · 1.17 KB
/
build.sbt
File metadata and controls
41 lines (30 loc) · 1.17 KB
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
name := "prout"
version := "1.0-SNAPSHOT"
scalaVersion := "2.11.7"
updateOptions := updateOptions.value.withCachedResolution(true)
resolvers += Resolver.sonatypeRepo("releases")
buildInfoKeys := Seq[BuildInfoKey](
name,
BuildInfoKey.constant("gitCommitId", Option(System.getenv("SOURCE_VERSION")) getOrElse(try {
"git rev-parse HEAD".!!.trim
} catch { case e: Exception => "unknown" }))
)
buildInfoPackage := "app"
lazy val root = (project in file(".")).enablePlugins(PlayScala, BuildInfoPlugin)
libraryDependencies ++= Seq(
cache,
filters,
ws,
"com.typesafe.akka" %% "akka-agent" % "2.3.2",
"org.webjars" % "bootstrap" % "3.3.2-1",
"net.kencochrane.raven" % "raven-logback" % "6.0.0",
"com.github.nscala-time" %% "nscala-time" % "2.0.0",
"com.netaporter" %% "scala-uri" % "0.4.7",
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
"com.github.scala-incubator.io" %% "scala-io-file" % "0.4.3-1",
"com.madgag" %% "play-git-hub" % "3.14",
"com.madgag.scala-git" %% "scala-git-test" % "3.0" % "test",
"org.scalatestplus" %% "play" % "1.4.0-M4" % "test"
)
sources in (Compile,doc) := Seq.empty
publishArtifact in (Compile, packageDoc) := false