From 487556797b78840e0e3d4a96fe843e3d1b75d431 Mon Sep 17 00:00:00 2001 From: John Sullivan Date: Mon, 23 Jan 2017 16:11:08 -0500 Subject: [PATCH] added basic osgi/MANIFEST.MF support --- build.sbt | 11 +++++++++++ project/plugins.sbt | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 7dd4fb3..0408c65 100644 --- a/build.sbt +++ b/build.sbt @@ -7,6 +7,17 @@ libraryDependencies ++= Seq( "junit" % "junit" % "4.11" % "test" ) +lazy val thisProject = (project in file (".")) + .enablePlugins(SbtOsgi) + +osgiSettings + +OsgiKeys.bundleSymbolicName := "com.jasongoodwin.monads" + +OsgiKeys.exportPackage := Seq("com.jasongoodwin.monads") + +OsgiKeys.privatePackage := Seq.empty + crossPaths := false publishMavenStyle := true diff --git a/project/plugins.sbt b/project/plugins.sbt index 5e1adb9..1390b36 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1,5 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.2.1") -addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3") \ No newline at end of file +addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3") + +addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.1")