Commit 98480aae authored by bow's avatar bow
Browse files

Add git-stamp plugin to add git info to assemblies

parent 97abf3f1
import sbt._
import Keys._
import org.scalatra.sbt._
import com.atlassian.labs.gitstamp.GitStampPlugin._
import com.earldouglas.xwp.XwpPlugin._
import com.typesafe.sbt.SbtScalariform._
import com.typesafe.sbt.SbtSite.site
......@@ -92,7 +93,8 @@ object SentinelBuild extends Build {
lazy val jettyRunnerSettings = jetty(Seq(JettyRunnerModule))
lazy val projectSettings = ScalatraPlugin.scalatraWithJRebel ++ scalariformSettings ++ jettyRunnerSettings ++
site.settings ++ site.sphinxSupport() ++ site.includeScaladoc() ++ headerSettings ++ Defaults.itSettings ++ Seq(
site.settings ++ site.sphinxSupport() ++ site.includeScaladoc() ++ headerSettings ++ Defaults.itSettings ++
gitStampSettings ++ Seq(
organization := Organization,
name := Name,
version := Version,
......
addSbtPlugin("com.atlassian.labs" % "sbt-git-stamp" % "0.1.2")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.0")
addSbtPlugin("com.mojolly.scalate" % "xsbt-scalate-generator" % "0.5.0")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment