diff --git a/build.sbt b/build.sbt index dcc14d774c..9bd058dbc5 100644 --- a/build.sbt +++ b/build.sbt @@ -387,6 +387,7 @@ lazy val pki = .dependsOn(actor) // this dependency only exists for "@ApiMayChange" .settings(Dependencies.pki) .settings(AutomaticModuleName.settings("pekko.pki")) + .settings(OSGi.pki) .disablePlugins(MimaPlugin) lazy val remote = diff --git a/project/OSGi.scala b/project/OSGi.scala index 0c500e7cc2..dcb1b67252 100644 --- a/project/OSGi.scala +++ b/project/OSGi.scala @@ -122,6 +122,8 @@ object OSGi { lazy val coordination = exports(Seq("org.apache.pekko.coordination.*")) + lazy val pki = exports(Seq("org.apache.pekko.pki.*")) + lazy val osgiOptionalImports = Seq( // needed because testkit is normally not used in the application bundle, // but it should still be included as transitive dependency and used by BundleDelegatingClassLoader