Export impl package to OSGI

Fixes #49
This commit is contained in:
Havoc Pennington 2014-01-15 09:57:42 -05:00
parent e6c7e6bd5b
commit 868c4928b3

View File

@ -47,7 +47,7 @@ object ConfigBuild extends Build {
sonatype.settings ++
osgiSettings ++
Seq(
OsgiKeys.exportPackage := Seq("com.typesafe.config"),
OsgiKeys.exportPackage := Seq("com.typesafe.config", "com.typesafe.config.impl"),
packagedArtifact in (Compile, packageBin) <<= (artifact in (Compile, packageBin), OsgiKeys.bundle).identityMap,
artifact in (Compile, packageBin) ~= { _.copy(`type` = "bundle") },
publish := { throw new RuntimeException("use publishSigned instead of plain publish") },