From 2a04e9649ea0ae47c89252f99d1c3bdafedc96bd Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Sat, 30 Aug 2025 14:32:26 +0200 Subject: [PATCH] Add OSGi headers to pekko-pki (#2107) Signed-off-by: Robert Varga --- build.sbt | 1 + project/OSGi.scala | 2 ++ 2 files changed, 3 insertions(+) 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