Skip to content

Commit

Permalink
#31 Add information in package metadata
Browse files Browse the repository at this point in the history
Status API uses package metadata to get project version
  • Loading branch information
To-om committed May 24, 2017
1 parent ef22537 commit 8f7604a
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,22 @@ libraryDependencies ++= Seq(
"org.scalatestplus.play" %% "scalatestplus-play" % "1.5.1" % Test
)

resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
// Add information in manifest
import Package.ManifestAttributes
import java.util.jar.Attributes.Name._
packageOptions ++= Seq(
ManifestAttributes(IMPLEMENTATION_TITLE -> name.value),
ManifestAttributes(IMPLEMENTATION_VERSION -> version.value),
ManifestAttributes(SPECIFICATION_VENDOR -> "TheHive Project"),
ManifestAttributes(SPECIFICATION_TITLE -> name.value),
ManifestAttributes(SPECIFICATION_VERSION -> "TheHive Project")
)

resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
Release.releaseVersionUIFile := baseDirectory.value / "ui" / "package.json"

Release.changelogFile := baseDirectory.value / "CHANGELOG.md"

publishArtifact in (Compile, packageDoc) := false

publishArtifact in packageDoc := false

sources in (Compile,doc) := Seq.empty

// Front-end //
Expand Down

0 comments on commit 8f7604a

Please sign in to comment.