Skip to content
Permalink
Browse files

Publish src, doc and proguard jars

  • Loading branch information...
nparry committed Feb 12, 2011
1 parent 0c4595e commit 16ed5544f0a0cfe0551b1efe201abda1ce3da62e
Showing with 13 additions and 0 deletions.
  1. +13 −0 project/build/SmircdProject.scala
@@ -26,6 +26,18 @@ class SmircdProject(info: ProjectInfo) extends DefaultProject(info) with Proguar
System.getProperty("user.name"),
(Path.userHome / ".ssh" / "id_rsa").asFile)

override def packageDocsJar = defaultJarPath("-javadoc.jar")
override def packageSrcJar = defaultJarPath("-sources.jar")

val sourceArtifact = Artifact.sources(artifactID)
val docsArtifact = Artifact.javadoc(artifactID)
val proguardArtifact = Artifact(artifactID, "min")

override def packageToPublishActions = super.packageToPublishActions ++ Seq(
proguard,
packageDocs,
packageSrc)

override def pomExtra =
<licenses>
<license>
@@ -42,6 +54,7 @@ class SmircdProject(info: ProjectInfo) extends DefaultProject(info) with Proguar
def macJdkClassesPath = Path.fromFile(macJdkBase) / "Classes"/ "classes.jar"
override def proguardLibraryJars = super.proguardLibraryJars +++ (macJdkClassesPath :PathFinder)

override def minJarName = artifactBaseName + "-min.jar"
override def proguardInJars = super.proguardInJars +++ scalaLibraryPath
override def proguardOptions = List(
proguardKeepMain("com.nparry.smircd.Mainline"),

0 comments on commit 16ed554

Please sign in to comment.
You can’t perform that action at this time.