-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
57 lines (56 loc) · 1.88 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
lazy val root = project.in(file("."))
.settings(
moduleName := "finagle-smtp",
organization := "io.github.finagle",
version := "0.1.0",
scalaVersion := "2.11.7",
crossScalaVersions := Seq("2.10.5", "2.11.7"),
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature"),
resolvers += "Twitter's Repository" at "https://maven.twttr.com/",
libraryDependencies ++= Seq(
"com.twitter" %% "finagle-mux" % "6.29.0",
"com.twitter" %% "util-codec" % "6.28.0",
"com.twitter" %% "util-logging" % "6.28.0",
"junit" % "junit" % "4.12" % "it,test",
"org.mockito" % "mockito-all" % "1.10.19" % "it,test",
"org.scalatest" %% "scalatest" % "2.2.5" % "it,test"
)
)
.settings(publishSettings ++ site.settings ++ ghpages.settings)
.settings(
site.includeScaladoc("docs"),
git.remoteRepo := "git@github.com:finagle/finagle-smtp.git"
)
.configs(IntegrationTest)
.settings(Defaults.itSettings: _*)
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")),
autoAPIMappings := true,
apiURL := Some(url("https://finagle.github.io/finagle-smtp/docs/")),
scmInfo := Some(
ScmInfo(
url("https://github.com/finagle/finagle-smtp"),
"scm:git:git@github.com:finagle/finagle-smtp.git"
)
),
pomExtra := (
<developers>
<developer>
<id>suncelesta</id>
<name>Valeria Dymbitskaya</name>
</developer>
</developers>
)
)