mirror of
https://github.com/lightbend/config.git
synced 2025-03-25 08:40:40 +08:00
Update sbt-osgi version to 0.8.0
This commit is contained in:
parent
f3c0249dcd
commit
d204a6d49e
project
@ -1,6 +1,7 @@
|
||||
import sbt._
|
||||
import Keys._
|
||||
import com.typesafe.sbt.osgi.SbtOsgi.{ OsgiKeys, osgiSettings }
|
||||
import com.typesafe.sbt.osgi.SbtOsgi
|
||||
import com.typesafe.sbt.osgi.SbtOsgi.autoImport._
|
||||
import com.typesafe.sbt.JavaVersionCheckPlugin.autoImport._
|
||||
|
||||
object ConfigBuild extends Build {
|
||||
@ -49,11 +50,9 @@ object ConfigBuild extends Build {
|
||||
osgiSettings ++
|
||||
Seq(
|
||||
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 := sys.error("use publishSigned instead of plain publish"),
|
||||
publishLocal := sys.error("use publishLocalSigned instead of plain publishLocal")
|
||||
)) dependsOn testLib % "test->test"
|
||||
)).enablePlugins(SbtOsgi) dependsOn testLib % "test->test"
|
||||
|
||||
def project(id: String, base: File) = Project(id, base, settings = commonSettings)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
addSbtPlugin("de.johoop" % "findbugs4sbt" % "1.4.0")
|
||||
addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.1.6")
|
||||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
|
||||
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.6.0")
|
||||
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.8.0")
|
||||
addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.2.1")
|
||||
|
||||
addSbtPlugin("com.etsy" % "sbt-checkstyle-plugin" % "0.4.1")
|
||||
|
Loading…
Reference in New Issue
Block a user