-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsonatype.sbt
37 lines (35 loc) · 1.21 KB
/
sonatype.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
import xerial.sbt.Sonatype._
inThisBuild(
Seq(
sonatypeProfileName := organization.value,
sonatypeProjectHosting := Some(GitHubHosting("fehu", "opentracing-scala", "[email protected]")),
sonatypeCredentialHost := "s01.oss.sonatype.org",
sonatypeRepository := "https://s01.oss.sonatype.org/",
publishMavenStyle := true,
licenses := Seq(License.MIT),
homepage := Some(url("https://github.com/fehu/opentracing-scala")),
scmInfo := Some(
ScmInfo(
url("https://github.com/fehu/opentracing-scala"),
"scm:[email protected]:fehu/opentracing-scala.git"
)
),
developers := List(
Developer(
id = "fehu",
name = "Dmitry Kovalev",
email = "[email protected]",
url = url("https://github.com/fehu")
)
),
usePgpKeyHex("A39486CEF95074A56BAF559B8E1AFFF8C89BBCD6"),
credentials += Credentials(
"Sonatype Nexus Repository Manager",
"s01.oss.sonatype.org",
sonatypeUser,
sonatypePassword
)
)
)
lazy val sonatypeUser = Option(System.getenv("SONATYPE_USER")).getOrElse("")
lazy val sonatypePassword = Option(System.getenv("SONATYPE_PASSWORD")).getOrElse("")