-
Notifications
You must be signed in to change notification settings - Fork 8
/
publish.sbt
47 lines (40 loc) · 1.36 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
41
42
43
44
45
46
47
import sbt.url
sonatypeProfileName in ThisBuild := "com.powerspace"
publishMavenStyle in ThisBuild := true
licenses in ThisBuild := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage in ThisBuild := Some(url("https://github.com/Powerspace/scala-openrtb"))
scmInfo in ThisBuild := Some(
ScmInfo(
url("https://github.com/Powerspace/scala-openrtb"),
"scm:[email protected]:Powerspace/scala-openrtb.git"
)
)
developers in ThisBuild := List(
Developer(
id = "waiter-melon",
name = "Emanuele Pirro",
email = "[email protected]",
url = url("https://github.com/waiter-melon")),
Developer(
id = "rlebran",
name = "Romain Lebran",
email = "[email protected]",
url = url("https://github.com/rlebran")),
Developer(
id = "valdo404",
name = "Laurent Valdes",
email = "[email protected]",
url = url("https://github.com/valdo404")),
Developer(
id = "Garnek20",
name = "Pawel Gontarz",
email = "[email protected]",
url = url("https://github.com/Garnek20"))
)
pomIncludeRepository in ThisBuild:= { _ => false }
publishTo in ThisBuild := {
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")
}
publishMavenStyle in ThisBuild := true