-
Notifications
You must be signed in to change notification settings - Fork 3
/
publish.sbt
37 lines (31 loc) · 829 Bytes
/
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
36
37
publishMavenStyle := true
credentials += Credentials(Path.userHome / ".sbt" / "sonatype.credentials")
Test / publishArtifact := false
pomIncludeRepository := { _ =>
false
}
publishTo :=
version { version: String =>
if (version.trim.endsWith("SNAPSHOT"))
Some(
"Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
)
else
Some(
"Sonatype Nexus Staging" at "https://oss.sonatype.org/service/local/staging/deploy/maven2"
)
}.value
scmInfo := Some(
ScmInfo(
url("https://github.com/agilesteel/spells"),
"scm:git:[email protected]:agilesteel/spells.git"
)
)
developers := List(
Developer(
id = "agilesteel",
name = "Vladyslav Pekker",
email = "[email protected]",
url = url("http://about.me/agilesteel")
)
)