Skip to content

Commit

Permalink
Publish to bintray instead of sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
nafg committed Aug 17, 2017
1 parent a46744e commit d004550
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions project/Build.scala
Expand Up @@ -23,17 +23,17 @@ object ReactiveBuild extends Build {
)

val publishingSettings = defaults ++ Seq(
publishTo := (
if (version.value.trim.endsWith("SNAPSHOT"))
Some(Resolver.sonatypeRepo("snapshots") )
else
Some("staging" at sonatypeStaging)
),
publishTo := Some("Reactive Bintray" at "https://api.bintray.com/maven/naftoligug/maven/reactive/;publish=1"),
publishMavenStyle := true,
credentials ++= {
val f = file("/private/nafg/.credentials")
if(f.exists) Seq(Credentials(f))
else Nil
sys.env.get("BINTRAYKEY").toSeq map (key =>
Credentials(
"Bintray API Realm",
"api.bintray.com",
"naftoligug",
key
)
)
},
pomExtra := <developers><developer><id>nafg</id></developer></developers>,
homepage := Some(url("http://scalareactive.org")),
Expand Down

0 comments on commit d004550

Please sign in to comment.