Permalink
Browse files

Changed project definition to allow for sources being published.

  • Loading branch information...
1 parent 095f78a commit c7548cdb5ac7b1e6c894029f365de0597cb6ff64 Heiko Seeberger committed Sep 17, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 project/build/SJsonProject.scala
@@ -25,4 +25,8 @@ class SJsonProject(info: ProjectInfo) extends DefaultProject(info) with Template
}
val junit = "junit" % "junit" % "4.8.1"
+
+ override def packageSrcJar = defaultJarPath("-sources.jar")
+ lazy val sourceArtifact = Artifact.sources(artifactID)
+ override def packageToPublishActions = super.packageToPublishActions ++ Seq(packageSrc)
}

0 comments on commit c7548cd

Please sign in to comment.