This repository has been archived by the owner on Mar 24, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
54 lines (45 loc) · 1.54 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
name := "lift-mandrill"
version := "0.2.0-SNAPSHOT"
organization := "com.hacklanta"
scalaVersion := "2.11.4"
crossScalaVersions := Seq("2.10.4", "2.11.4")
resolvers += "Temp Forks" at "http://dl.bintray.com/farmdawgnation/temp-forks"
libraryDependencies ++= {
val liftVersion = "2.6-RC1"
Seq(
"net.liftweb" %% "lift-common" % liftVersion,
"net.liftweb" %% "lift-util" % liftVersion,
"net.liftweb" %% "lift-json" % liftVersion,
"net.databinder.dispatch" %% "dispatch-core" % "0.11.2",
"net.databinder.dispatch" %% "dispatch-lift-json" % "0.11.2",
"org.scalatest" %% "scalatest" % "2.2.1" % "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")
}
credentials += Credentials(Path.userHome / ".sonatype")
pomExtra :=
<url>https://github.com/hacklanta/lift-mandrill</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/hacklanta/lift-mandrill.git</url>
<connection>https://github.com/hacklanta/lift-mandrill.git</connection>
</scm>
<developers>
<developer>
<id>farmdawgnation</id>
<name>Matt Farmer</name>
<email>matt@frmr.me</email>
</developer>
</developers>