-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
73 lines (50 loc) · 1.81 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
63
64
65
66
67
68
69
70
71
72
73
// ------------------------ Project info ------------------------
name := "postmark-scala"
description := "Scala binding for the Postmark API"
version := "1.3"
organization := "com.github.sebrichards"
// ------------------------ Compiler settings ------------------------
scalaVersion := "2.12.1"
crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.1")
scalacOptions ++= Seq("-feature", "-deprecation")
// ------------------------ Dependencies ------------------------
resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"
libraryDependencies ++= Seq(
// Commons
"org.apache.httpcomponents" % "httpclient" % "4.5.3",
"commons-io" % "commons-io" % "2.5",
// JSON
"org.json4s" %% "json4s-native" % "3.5.0",
// Joda
"joda-time" % "joda-time" % "2.9.7",
"org.joda" % "joda-convert" % "1.8.1",
// Logging
"org.slf4j" % "slf4j-api" % "1.7.23",
// Testing
"org.specs2" %% "specs2-core" % "3.8.8" % "test",
"org.slf4j" % "slf4j-nop" % "1.7.23" % "test")
// ------------------------ Publishing ------------------------
publishMavenStyle := true
publishArtifact in Test := false
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")
}
licenses := Seq("MIT" -> url("http://seb.mit-license.org/license.txt"))
homepage := Some(url("https://github.com/sebrichards/postmark-scala"))
pomExtra := (
<scm>
<url>https://github.com/sebrichards/postmark-scala</url>
<connection>scm:git:git://github.com/sebrichards/postmark-scala.git</connection>
</scm>
<developers>
<developer>
<id>sebrichards</id>
<name>Seb Richards</name>
<url>https://github.com/sebrichards</url>
</developer>
</developers>
)