-
Notifications
You must be signed in to change notification settings - Fork 3
/
publish.sbt
39 lines (28 loc) · 1.24 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
credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credentials")
ThisBuild / organization := "com.github.rssh"
ThisBuild / organizationName := "rssh"
ThisBuild / organizationHomepage := Some(url("https://github.com/rssh"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/rssh/cps-async-connect"),
"scm:git@github.com:rssh/cps-async-connect.git"
)
)
ThisBuild / developers := List(
Developer(
id = "rssh",
name = "Ruslan Shevchenko",
email = "ruslan@shevchenko.kiev.ua",
url = url("https://github.com/rssh")
)
)
ThisBuild / description := "cps-async-connect: integration of dotty-cps-async with effect stacks"
ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / homepage := Some(url("https://github.com/rssh/cps-async-connect"))
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / 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")
}
ThisBuild / publishMavenStyle := true