diff options
author | Tobias Roeser <le.petit.fou@web.de> | 2018-10-10 09:30:09 +0200 |
---|---|---|
committer | Tobias Roeser <le.petit.fou@web.de> | 2018-10-21 13:52:14 +0200 |
commit | c321c433a10da0a9b6e0f6379ed44ab8567def7c (patch) | |
tree | 90d9bb36039bdefe4048e1032b66588ec668f27c /docs/pages | |
parent | c948427e2c11b412ab7121c4c2804105cde711ae (diff) | |
download | mill-c321c433a10da0a9b6e0f6379ed44ab8567def7c.tar.gz mill-c321c433a10da0a9b6e0f6379ed44ab8567def7c.tar.bz2 mill-c321c433a10da0a9b6e0f6379ed44ab8567def7c.zip |
Added mill-osgi module to documentation, contrib modules
Diffstat (limited to 'docs/pages')
-rw-r--r-- | docs/pages/9 - Contrib Modules.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/pages/9 - Contrib Modules.md b/docs/pages/9 - Contrib Modules.md index f6c9cc7b..19817a4b 100644 --- a/docs/pages/9 - Contrib Modules.md +++ b/docs/pages/9 - Contrib Modules.md @@ -143,3 +143,24 @@ Quickstart: [40/40] project.publishM2Local Publishing to /tmp/m2repo ``` + +- [osgi](https://github.com/lefou/mill-osgi "GitHub-Project lefou/mill-osgi") + + Produce OSGi Bundles with mill. + + Quickstart: + ```scala + import $ivy.`de.tototec::de.tobiasroeser.mill.osgi:0.0.2` + import de.tobiasroeser.mill.osgi._ + + object project extends ScalaModule with OsgiBundleModule { + + def bundleSymbolicName = "com.example.project" + + def osgiHeaders = T{ osgiHeaders().copy( + `Export-Package` = Seq("com.example.api"), + `Bundle-Activator` = Some("com.example.internal.Activator") + )} + + } + ``` |