Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/no-carrier.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <code@rebertia.com>2015-07-28 08:36:23 +0300
committerChris Rebert <code@rebertia.com>2015-07-28 08:36:23 +0300
commit59912e348ccf0207fc6f2faa75ce3fc8aad8daa8 (patch)
tree44f3f453b80832313274e9a4404369f0fd2e4d1a
parent448671428a66d778b44517ab3fed997f27812c5f (diff)
Add manifest entries to make jcabi-github happy
-rw-r--r--build.sbt12
1 files changed, 11 insertions, 1 deletions
diff --git a/build.sbt b/build.sbt
index da91c0f..4fc8483 100644
--- a/build.sbt
+++ b/build.sbt
@@ -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")