Protobuf v3 osgi (#29172)
* register ActorSystem reference under ActorFactoryRef interface name * reformat code * add OSGi headers for akka-protobuf-v3 * change private package to only include proto files
This commit is contained in:
parent
17f7f1108a
commit
2c4e114ecd
2 changed files with 13 additions and 1 deletions
|
|
@ -6,7 +6,6 @@ package akka
|
|||
|
||||
import com.typesafe.sbt.osgi.OsgiKeys
|
||||
import com.typesafe.sbt.osgi.SbtOsgi._
|
||||
import com.typesafe.sbt.osgi.SbtOsgi.autoImport._
|
||||
import sbt._
|
||||
import sbt.Keys._
|
||||
import net.bzzt.reproduciblebuilds.ReproducibleBuildsPlugin
|
||||
|
|
@ -65,6 +64,17 @@ object OSGi {
|
|||
|
||||
val protobuf = exports(Seq("akka.protobuf.*"))
|
||||
|
||||
val protobufV3 = osgiSettings ++ Seq(
|
||||
OsgiKeys.importPackage := Seq(
|
||||
"!sun.misc",
|
||||
scalaJava8CompatImport(),
|
||||
scalaVersion(scalaImport).value,
|
||||
configImport(),
|
||||
"*"),
|
||||
OsgiKeys.exportPackage := Seq("akka.protobufv3.internal.*"),
|
||||
OsgiKeys.privatePackage := Seq("google.protobuf.*")
|
||||
)
|
||||
|
||||
val jackson = exports(Seq("akka.serialization.jackson.*"))
|
||||
|
||||
val remote = exports(Seq("akka.remote.*"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue