-
Notifications
You must be signed in to change notification settings - Fork 2
/
publish.sbt
32 lines (30 loc) · 858 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
version in ThisBuild := {
import sys.process._
("git describe --always --dirty=-SNAPSHOT --match v[0-9].*" !!).tail.trim
}
organization in ThisBuild := "xyz.driver"
licenses in ThisBuild := Seq(
("Apache 2.0", url("https://www.apache.org/licenses/LICENSE-2.0")))
homepage in ThisBuild := Some(
url("https://github.com/drivergroup/sbt-settings"))
publishMavenStyle in ThisBuild := true
publishTo in ThisBuild := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
scmInfo in ThisBuild := Some(
ScmInfo(
url("https://github.com/drivergroup/sbt-settings"),
"scm:[email protected]:drivergroup/sbt-settings.git"
)
)
developers in ThisBuild := List(
Developer(
id = "jodersky",
name = "Jakob Odersky",
email = "[email protected]",
url = url("https://driver.xyz")
)
)