Skip to content

Commit

Permalink
Use the default build when creating the OSGI bundle
Browse files Browse the repository at this point in the history
Else the module-info is not included.
  • Loading branch information
luben committed Oct 29, 2023
1 parent ddecc17 commit 8ba2eda
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -201,16 +201,13 @@ pomExtra := (
)

// OSGI

osgiSettings

OsgiKeys.bundleSymbolicName := "com.github.luben.zstd-jni"
OsgiKeys.exportPackage := Seq(s"com.github.luben.zstd", "com.github.luben.zstd.util")
OsgiKeys.importPackage := Seq("org.osgi.framework;resolution:=optional")
OsgiKeys.privatePackage := Seq(
"linux.amd64", "linux.i386", "linux.aarch64", "linux.arm", "linux.ppc64",
"linux.ppc64le", "linux.mips64", "linux.loongarch64", "linux.s390x", "darwin.x86_64",
"darwin.aarch64", "win.amd64", "win.x86", "freebsd.amd64", "freebsd.i386",
"darwin.aarch64", "win.amd64", "win.x86", "win.aarch64", "freebsd.amd64", "freebsd.i386",
"linux.riscv64"
)
// Explicitly specify the version of JavaSE required
Expand Down

0 comments on commit 8ba2eda

Please sign in to comment.