Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

78 lines (60 sloc) 2.128 kb
// Project info
name := "play-statsd"
// So that we can publish it into Sonatype
organization := "net.vz.play.statsd"
// The version comes from version.sbt, and is generated by the release plugin
scalaVersion := "2.9.1"
resolvers ++= Seq(
DefaultMavenRepository,
Resolver.url("Play", url("http://download.playframework.org/ivy-releases/"))(Resolver.ivyStylePatterns),
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/",
"Typesafe Other Repository" at "http://repo.typesafe.com/typesafe/repo/",
Resolver.url("sbt-plugin-releases", url("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
)
// Dependencies
libraryDependencies ++= Seq(
"play" %% "play" % "2.0.4"
)
// Test dependencies
libraryDependencies ++= Seq(
"org.specs2" %% "specs2" % "1.9" % "test",
"play" %% "play-test" % "2.0.4" % "test"
)
parallelExecution in Test := false
// Configuration required for deploying to sonatype
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")
}
pomIncludeRepository := { _ => false }
publishArtifact in Test := false
pomExtra := (
<url>http://github.com/vznet/play-statsd</url>
<inceptionYear>2012</inceptionYear>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<scm>
<url>git@github.com:vznet/play-statsd.git</url>
<connection>scm:git:git@github.com:vznet/play-statsd.git</connection>
</scm>
<developers>
<developer>
<name>James Roper</name>
<email>james@jazzy.id.au</email>
<url>http://jazzy.id.au</url>
<roles>
<role>Author</role>
</roles>
<organization>VZ Netzwerke</organization>
</developer>
</developers>)
Jump to Line
Something went wrong with that request. Please try again.