Skip to content

Commit 3da09e8

Browse files
committed
publish to scala-tools Maven repo.
1 parent 29cc097 commit 3da09e8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

project/build/FunctionalJavaProject.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@ import fj.data._
6060
import org.scalacheck._
6161
import org.scalacheck.Prop._
6262
"""
63+
64+
val publishTo = {
65+
val repoUrl = "http://nexus.scala-tools.org/content/repositories/" + (if (version.toString.endsWith("-SNAPSHOT"))
66+
"snapshots"
67+
else
68+
"releases")
69+
70+
pubishToRepoName at repoUrl
71+
}
6372
}
6473

6574
final class FunctionalJavaProject(info: ProjectInfo) extends ParentProject(info) with OverridableVersion {

0 commit comments

Comments
 (0)