-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
62 lines (51 loc) · 1.66 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
53
54
55
56
57
58
59
60
61
62
name := "streifen"
version := "0.1.2-SNAPSHOT"
organization := "me.frmr.stripe"
scalaVersion := "2.12.4"
libraryDependencies ++= {
val liftVersion = "3.2.0"
Seq(
"net.liftweb" %% "lift-common" % liftVersion,
"net.liftweb" %% "lift-util" % liftVersion,
"net.liftweb" %% "lift-json" % liftVersion,
"org.dispatchhttp" %% "dispatch-core" % "0.14.0",
"org.dispatchhttp" %% "dispatch-lift-json" % "0.14.0",
"org.scalatest" %% "scalatest" % "3.0.5" % "test"
)
}
initialCommands := """
import me.frmr.stripe._
import scala.concurrent._
import scala.concurrent.duration._
"""
enablePlugins(BuildInfoPlugin)
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion)
buildInfoPackage := "me.frmr.stripe"
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
credentials += Credentials(Path.userHome / ".sonatype")
pomExtra :=
<url>https://github.com/farmdawgnation/streifen</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/farmdawgnation/streifen.git</url>
<connection>https://github.com/farmdawgnation/streifen.git</connection>
</scm>
<developers>
<developer>
<id>farmdawgnation</id>
<name>Matt Farmer</name>
<email>matt@frmr.me</email>
</developer>
</developers>