Skip to content

Commit

Permalink
Fixed plugin usage docs for mill-osgi
Browse files Browse the repository at this point in the history
  • Loading branch information
lefou committed Dec 14, 2018
1 parent d2dbfbf commit 2935287
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/pages/9 - Contrib Modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,18 +276,21 @@ Project home: https://github.com/lefou/mill-osgi
#### Quickstart

```scala
import $ivy.`de.tototec::de.tobiasroeser.mill.osgi:0.0.2`
import mill._, mill.scalalib._
import $ivy.`de.tototec::de.tobiasroeser.mill.osgi:0.0.5`
import de.tobiasroeser.mill.osgi._

object project extends ScalaModule with OsgiBundleModule {

def bundleSymbolicName = "com.example.project"

def osgiHeaders = T{ osgiHeaders().copy(
def osgiHeaders = T{ super.osgiHeaders().copy(
`Export-Package` = Seq("com.example.api"),
`Bundle-Activator` = Some("com.example.internal.Activator")
)}

// other settings ...

}
```

Expand Down

0 comments on commit 2935287

Please sign in to comment.