forked from WW-Digital/reactive-kinesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.sbt
28 lines (25 loc) · 1.45 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
publishTo := {
if (isSnapshot.value){
Some("Artifactory Realm" at "http://oss.jfrog.org/artifactory/oss-snapshot-local")
}
else {
publishTo.value
}
}
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", "[email protected]", url("https://github.com/felixt-cake")),
Developer("DavidDeCoding", "David De", "[email protected]", url("https://github.com/DavidDeCoding")),
Developer("agaro1121", "Anthony Garo", "[email protected]", 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