Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (40 sloc) 1.406 kB
import sbt._
object Common {
import Keys._
val testSettings:Seq[Setting[_]] = Seq(
testOptions in Test += Tests.Cleanup { loader =>
val c = loader.loadClass("unfiltered.spec.Cleanup$")
c.getMethod("cleanup").invoke(c.getField("MODULE$").get(c))
}
)
val settings: Seq[Setting[_]] = ls.Plugin.lsSettings ++ Seq(
version := "0.9.5",
crossScalaVersions :=
Seq("2.8.1", "2.8.2", "2.9.0-1", "2.9.1", "2.9.1-1", "2.9.2"),
organization := "net.databinder.dispatch",
homepage :=
Some(new java.net.URL("http://dispatch.databinder.net/")),
publishMavenStyle := true,
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
publishArtifact in Test := false,
licenses := Seq("LGPL v3" -> url("http://www.gnu.org/licenses/lgpl.txt")),
pomExtra := (
<scm>
<url>git@github.com:dispatch/reboot.git</url>
<connection>scm:git:git@github.com:dispatch/reboot.git</connection>
</scm>
<developers>
<developer>
<id>n8han</id>
<name>Nathan Hamblen</name>
<url>http://twitter.com/n8han</url>
</developer>
</developers>)
)
}
Jump to Line
Something went wrong with that request. Please try again.