-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
36 lines (31 loc) · 1.43 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
lazy val commonSettings = Seq(
publishTo := sonatypePublishToBundle.value
)
lazy val httpcore = project.settings(commonSettings)
lazy val httpclient = project.dependsOn(httpcore).settings(commonSettings)
lazy val httpasyncclient = project.dependsOn(httpclient, `httpasyncclient-thread-context`).settings(commonSettings)
lazy val `httpasyncclient-thread-context` = project.settings(commonSettings)
inScope(Global)(Seq(
autoScalaLibrary := false,
credentials += Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
sys.env.getOrElse("SONATYPE_USERNAME", ""),
sys.env.getOrElse("SONATYPE_PASSWORD", "")
),
crossPaths := false,
developers += Developer("pauldraper", "Paul Draper", "[email protected]", url("https://github.com/pauldraper")),
homepage := Some(url("https://git.lucidchart.com/lucidsoftware/opentracing-httpcomponents")),
licenses += "Apache 2.0 License" -> url("https://www.apache.org/licenses/LICENSE-2.0"),
organization := "com.lucidchart",
organizationHomepage := Some(url("http://opentracing.io/")),
organizationName := "OpenTracing",
resolvers += Resolver.typesafeRepo("releases"),
scmInfo := Some(ScmInfo(
url("https://github.com/lucidsoftware/opentracing-httpcomponents"),
"scm:git:[email protected]:lucidsoftware/opentracing-httpcomponents.git"
)),
startYear := Some(2017),
version := sys.props.getOrElse("build.version", "0-SNAPSHOT")
))
skip in publish := true