-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
50 lines (37 loc) · 1.14 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
organization := "info.henix"
name := "scetty"
description := "Scala async http client based on jetty-client"
version := "0.3"
licenses := Seq("3-clause BSD" -> url("http://opensource.org/licenses/BSD-3-Clause"))
scalaVersion := "2.12.4"
scalacOptions ++= Seq("-deprecation", "-feature", "-Yno-adapted-args")
libraryDependencies ++= Seq(
"org.eclipse.jetty" % "jetty-client" % "9.4.8.v20171121"
)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.5" % "test"
)
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")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>https://github.com/henix/scetty</url>
<scm>
<url>[email protected]:henix/scetty.git</url>
<connection>scm:git:[email protected]:henix/scetty.git</connection>
</scm>
<developers>
<developer>
<id>henix</id>
<name>henix</name>
<url>https://github.com/henix</url>
</developer>
</developers>
)