File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
import sbt ._
2
2
import sbt .Process ._
3
+ import com .weiglewilczek .bnd4sbt .BNDPlugin
3
4
4
- class HttpProject (info : ProjectInfo ) extends DefaultProject (info) {
5
+ class HttpProject (info : ProjectInfo ) extends DefaultProject (info) with BNDPlugin {
5
6
override def managedStyle = ManagedStyle .Maven
6
7
val publishTo = " Scala Tools Nexus" at " http://nexus.scala-tools.org/content/repositories/releases/"
7
8
Credentials (Path .userHome / " .ivy2" / " .credentials" , log)
8
9
override def packageSrcJar = defaultJarPath(" -sources.jar" )
9
10
val sourceArtifact = Artifact .sources(artifactID)
10
11
override def packageToPublishActions = super .packageToPublishActions ++ Seq (packageSrc)
11
-
12
+ override def bndExportPackage = Seq (" org.scalaj;version=\" 0.2.2\" " )
13
+
12
14
val specs = if (buildScalaVersion.startsWith(" 2.7." )) {
13
15
" org.scala-tools.testing" % " specs" % " 1.6.2.2" % " test" withSources()
14
16
} else {
15
17
" org.scala-tools.testing" %% " specs" % " 1.6.5" % " test" withSources()
16
18
}
17
- }
19
+ }
You can’t perform that action at this time.
0 commit comments