diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/example-1/foo/src/Example.scala (renamed from docs/example-1/foo/src/foo/Example.scala) | 0 | ||||
-rw-r--r-- | docs/example-2/foo/src/Example.scala (renamed from docs/example-2/foo/src/foo/Example.scala) | 0 | ||||
-rw-r--r-- | docs/pages/9 - Contrib Modules.md | 7 |
3 files changed, 5 insertions, 2 deletions
diff --git a/docs/example-1/foo/src/foo/Example.scala b/docs/example-1/foo/src/Example.scala index f84f91f9..f84f91f9 100644 --- a/docs/example-1/foo/src/foo/Example.scala +++ b/docs/example-1/foo/src/Example.scala diff --git a/docs/example-2/foo/src/foo/Example.scala b/docs/example-2/foo/src/Example.scala index f84f91f9..f84f91f9 100644 --- a/docs/example-2/foo/src/foo/Example.scala +++ b/docs/example-2/foo/src/Example.scala diff --git a/docs/pages/9 - Contrib Modules.md b/docs/pages/9 - Contrib Modules.md index 4d811cde..cf63039a 100644 --- a/docs/pages/9 - Contrib Modules.md +++ b/docs/pages/9 - Contrib Modules.md @@ -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 ... + } ``` |