forked from finagle/finagle-smtp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
53 lines (52 loc) · 1.76 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
lazy val root = project.in(file("."))
.settings(
moduleName := "finagle-smtp",
organization := "io.github.finagle",
version := "0.1.0",
scalaVersion := "2.11.5",
crossScalaVersions := Seq("2.10.4", "2.11.5"),
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature"),
resolvers += "Twitter's Repository" at "http://maven.twttr.com/",
libraryDependencies ++= Seq(
"com.twitter" %% "finagle-mux" % "6.24.0",
"com.twitter" %% "util-codec" % "6.23.0",
"com.twitter" %% "util-logging" % "6.23.0",
"junit" % "junit" % "4.12" % "test",
"org.mockito" % "mockito-all" % "1.10.19" % "test",
"org.scalatest" %% "scalatest" % "2.2.3" % "test"
)
)
.settings(publishSettings: _*)
.settings(site.settings: _*)
.settings(site.includeScaladoc("docs"): _*)
.settings(ghpages.settings: _*)
.settings(
git.remoteRepo := "[email protected]:finagle/finagle-smtp.git"
)
lazy val publishSettings = Seq(
publishMavenStyle := true,
publishArtifact := true,
useGpg := true,
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")
},
publishArtifact in Test := false,
licenses := Seq("Apache 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
homepage := Some(url("https://github.com/finagle/finagle-smtp")),
pomExtra := (
<scm>
<url>git://github.com/finagle/finagle-smtp.git</url>
<connection>scm:git://github.com/finagle/finagle-smtp.git</connection>
</scm>
<developers>
<developer>
<id>suncelesta</id>
<name>Valeria Dymbitskaya</name>
</developer>
</developers>
)
)