-
Notifications
You must be signed in to change notification settings - Fork 54
/
publish.sbt
40 lines (30 loc) · 1.07 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
36
37
38
39
40
name := "sbt-revolver"
organization := "io.spray"
description := "An SBT plugin for dangerously fast development turnaround in Scala"
startYear := Some(2011)
homepage := Some(url("http://github.com/spray/sbt-revolver"))
organizationHomepage := Some(url("http://spray.io"))
licenses += "Apache License 2.0" -> url("https://github.com/spray/sbt-revolver/raw/master/LICENSE")
publishTo := {
val nexus = "https://oss.sonatype.org/"
Some {
if (version.value.trim.contains("+")) "snapshots" at nexus + "content/repositories/snapshots"
else "releases" at nexus + "service/local/staging/deploy/maven2"
}
}
publishMavenStyle := true
Test / publishArtifact := false
pomIncludeRepository := { _ => false }
scmInfo := Some(
ScmInfo(
browseUrl = url("https://github.com/spray/sbt-revolver"),
connection = "scm:git:[email protected]:spray/sbt-revolver.git"
)
)
developers := List(
Developer(
"sbt-revolver-contributors",
"Sbt Revolver Contributors",
"",
url("https://github.com/spray/sbt-revolver/graphs/contributors"))
)