forked from anurag/stripe-scala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
53 lines (41 loc) · 1.28 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name := "stripe-scala"
version := io.Source.fromFile("VERSION").mkString.trim
organization := "com.stripe"
scalaVersion := "2.10.3"
scalacOptions ++= Seq("-unchecked", "-deprecation")
libraryDependencies ++= Seq(
"org.apache.httpcomponents" % "httpclient" % "[4.1, 4.2)",
"net.liftweb" %% "lift-json" % "2.5.1",
"org.scalatest" %% "scalatest" % "2.0.RC2" % "test"
)
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")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { x => false }
pomExtra := (
<url>http://www.stripe.com/</url>
<licenses>
<license>
<name>MIT</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:stripe/stripe-scala.git</url>
<connection>scm:git:[email protected]:stripe/stripe-scala.git</connection>
</scm>
<developers>
<developer>
<id>siddarth</id>
<name>Siddarth Chandrasekaran</name>
<url>https://stripe.com/about#siddarth</url>
</developer>
</developers>
)