Permalink
Browse files

Fixed SBT build to properly publish -sources and -javadoc artifacts

  • Loading branch information...
Brendan W. McAdams
Brendan W. McAdams committed Jan 1, 2011
1 parent 15d89b5 commit 9293f96fbdde0af91e084e5f6e22a206058ee6bd
Showing with 2 additions and 0 deletions.
  1. +2 −0 project/build/CasbahProject.scala
@@ -40,6 +40,8 @@ class CasbahProject(info: ProjectInfo)
override def packageDocsJar = defaultJarPath("-javadoc.jar")
override def packageSrcJar= defaultJarPath("-sources.jar")
+ lazy val sourceArtifact = Artifact.sources(artifactID)
+ lazy val docsArtifact = Artifact.javadoc(artifactID)
override def packageToPublishActions = super.packageToPublishActions ++ Seq(packageDocs, packageSrc)
/**

0 comments on commit 9293f96

Please sign in to comment.