-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublish.sbt
35 lines (31 loc) · 1.13 KB
/
publish.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
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/killaitis/peloton"),
"https://github.com/killaitis/peloton.git"
)
)
ThisBuild / developers := List(
Developer(
id = "killaitis",
name = "Andreas Killaitis",
email = "andreas@killaitis.de",
url = url("http://www.github.com/killaitis/")
)
)
ThisBuild / licenses := Seq("MIT License" -> url("http://www.opensource.org/licenses/mit-license.php"))
ThisBuild / homepage := Some(url("https://github.com/killaitis/peloton"))
ThisBuild / organization := "de.killaitis"
ThisBuild / organizationName := "Andreas Killaitis"
ThisBuild / organizationHomepage := Some(url("https://www.github.com/killaitis"))
pomIncludeRepository := { _ => false }
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
ThisBuild / credentials ++= (for {
username <- sys.env.get("SONATYPE_USERNAME")
password <- sys.env.get("SONATYPE_PASSWORD")
} yield Credentials(
"Sonatype Nexus Repository Manager",
"s01.oss.sonatype.org",
username,
password
)).toList