Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: c394ec6b9a
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.59 kB
import com.weiglewilczek.bnd4sbt.BNDPlugin
import sbt._
class TestProject(info: ProjectInfo) extends ParentProject(info: ProjectInfo) {
lazy val a = project("a", "a", new A(_))
class A(info: ProjectInfo) extends DefaultProject(info) with BNDPlugin {
override def bndExportPackage = Set("a;version=1.0")
}
lazy val b = project("b", "b", new B(_), a)
class B(info: ProjectInfo) extends DefaultProject(info) with BNDPlugin {
lazy val osgiCore = "org.osgi" % "org.osgi.core" % "4.2.0" % "provided"
override def bndBundleActivator = Some("b.internal.Activator")
}
}
Jump to Line
Something went wrong with that request. Please try again.