This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
publish.sbt
44 lines (42 loc) · 1.62 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
publishTo := {
val defaultDestination = publishTo.value
if (isSnapshot.value) {
Some("Artifactory Realm" at "http://oss.jfrog.org/artifactory/oss-snapshot-local")
} else {
defaultDestination
}
}
credentials ++= List(Path.userHome / ".bintray" / ".artifactory")
.filter(_.exists)
.map(Credentials(_)) //For snapshots
organization := "com.weightwatchers"
pomIncludeRepository := { _ =>
false
} //remove optional dependencies from our pom
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))
homepage := Some(url("http://www.weightwatchers.com"))
scmInfo := Some(
ScmInfo(url("https://github.com/WW-Digital/reactive-kinesis"),
"scm:[email protected]:WW-Digital/reactive-kinesis.git")
)
developers := List(
Developer("markglh", "Mark Harrison", "[email protected]", url("https://github.com/markglh")),
Developer("felixt-cake",
"Felix Terkhorn",
url("https://github.com/felixt-cake")),
Developer("DavidDeCoding",
"David De",
url("https://github.com/DavidDeCoding")),
Developer("agaro1121",
"Anthony Garo",
url("https://github.com/agaro1121")),
Developer("dluwtw", "David Lu", "[email protected]", url("https://github.com/dluwtw"))
)
publishArtifact in Test := false
bintrayReleaseOnPublish := false //We're releasing via travis, set to true to automatically release on publish instead
publishMavenStyle := true
bintrayRepository := "oss"
bintrayOrganization in bintray := None