diff options
author | Chris Rebert <github@rebertia.com> | 2015-07-28 09:27:37 +0300 |
---|---|---|
committer | Chris Rebert <github@rebertia.com> | 2015-07-28 09:27:37 +0300 |
commit | e06448e7afaf65aba07f9b0ccdb0f705d7aa9a43 (patch) | |
tree | 44f3f453b80832313274e9a4404369f0fd2e4d1a | |
parent | 448671428a66d778b44517ab3fed997f27812c5f (diff) | |
parent | 59912e348ccf0207fc6f2faa75ce3fc8aad8daa8 (diff) |
Merge pull request #10 from twbs/jcabi-manifest
Add manifest entries to make jcabi-github happy
-rw-r--r-- | build.sbt | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -8,7 +8,9 @@ mainClass := Some("com.getbootstrap.no_carrier.Main") resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo) -libraryDependencies += "com.jcabi" % "jcabi-github" % "0.24" +val jcabiV = "0.24" + +libraryDependencies += "com.jcabi" % "jcabi-github" % jcabiV libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.1.0" @@ -20,6 +22,14 @@ libraryDependencies += "org.specs2" %% "specs2" % "2.3.12" % "test" libraryDependencies += "com.google.code.findbugs" % "annotations" % "2.0.1" +packageOptions in (Compile, packageBin) ++= { + Seq( + Package.ManifestAttributes("JCabi-Version" -> jcabiV), + Package.ManifestAttributes("JCabi-Build" -> "abcdef"), + Package.ManifestAttributes("JCabi-Date" -> "2015-08-01") + ) +} + scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "–Xlint", "-encoding", "utf8") scalacOptions in Test ++= Seq("-Yrangepos") |