Skip to content

Commit

Permalink
Merge pull request #32 from tpolecat/osgi
Browse files Browse the repository at this point in the history
add osgi headers
  • Loading branch information
lihaoyi committed Jul 5, 2017
2 parents 43e7d43 + b0f6faf commit fe5f236
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import OsgiKeys._

crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.0")

Expand All @@ -13,7 +14,7 @@ def macroDependencies(version: String) =
Seq())

lazy val sourcecode = crossProject.settings(
version := "0.1.3",
version := "0.1.4",
scalaVersion := "2.11.8",
name := "sourcecode" ,
organization := "com.lihaoyi",
Expand Down Expand Up @@ -47,6 +48,10 @@ lazy val sourcecode = crossProject.settings(
<url>https://github.com/lihaoyi</url>
</developer>
</developers>
).enablePlugins(SbtOsgi).settings(osgiSettings).settings(
exportPackage := Seq("sourcecode.*"),
privatePackage := Seq(),
dynamicImportPackage := Seq("*")
)

lazy val js = sourcecode.js
Expand Down
1 change: 1 addition & 0 deletions project/build.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.13")
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.8.0")

0 comments on commit fe5f236

Please sign in to comment.