File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ import OsgiKeys ._
1
2
2
3
crossScalaVersions := Seq (" 2.10.6" , " 2.11.8" , " 2.12.0" )
3
4
@@ -13,7 +14,7 @@ def macroDependencies(version: String) =
13
14
Seq ())
14
15
15
16
lazy val sourcecode = crossProject.settings(
16
- version := " 0.1.3 " ,
17
+ version := " 0.1.4 " ,
17
18
scalaVersion := " 2.11.8" ,
18
19
name := " sourcecode" ,
19
20
organization := " com.lihaoyi" ,
@@ -47,6 +48,10 @@ lazy val sourcecode = crossProject.settings(
47
48
<url >https:// github.com/ lihaoyi</url >
48
49
</developer >
49
50
</developers >
51
+ ).enablePlugins(SbtOsgi ).settings(osgiSettings).settings(
52
+ exportPackage := Seq (" sourcecode.*" ),
53
+ privatePackage := Seq (),
54
+ dynamicImportPackage := Seq (" *" ),
50
55
)
51
56
52
57
lazy val js = sourcecode.js
Original file line number Diff line number Diff line change 1
1
addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.13" )
2
+ addSbtPlugin(" com.typesafe.sbt" % " sbt-osgi" % " 0.8.0" )
You can’t perform that action at this time.
0 commit comments