Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SASC
sentinel-legacy
Commits
98480aae
Commit
98480aae
authored
Jun 24, 2015
by
bow
Browse files
Add git-stamp plugin to add git info to assemblies
parent
97abf3f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
project/SentinelBuild.scala
View file @
98480aae
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
,
...
...
project/plugins.sbt
View file @
98480aae
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"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment