Skip to content

Commit

Permalink
Merge pull request #158 from barkhorn/bintray
Browse files Browse the repository at this point in the history
publish to bintray
  • Loading branch information
barkhorn authored Nov 24, 2016
2 parents dd4cefa + af7dfed commit 1714ba6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 2 additions & 0 deletions bintray.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

bintrayOrganization in ThisBuild := Some("scalamock")
12 changes: 4 additions & 8 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import Keys._
import sbt.inc.Analysis

object BuildSettings {
val buildVersion = "3.4.0"
val buildVersion = "3.4.1"
val buildScalaVersion = "2.12.0"

val buildSettings = Defaults.coreDefaultSettings ++ Seq(
Expand All @@ -36,24 +36,20 @@ object BuildSettings {
resolvers += Resolver.sonatypeRepo("snapshots"),
resolvers += "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases",

/*
publishTo <<= version { v =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
*/
pomIncludeRepository := { _ => false },
publishArtifact in Test := false,
licenses += (("BSD", url("http://www.opensource.org/licenses/bsd-license.php"))),
pomExtra := (
<url>http://scalamock.org/</url>
<licenses>
<license>
<name>BSD-style</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:paulbutcher/ScalaMock.git</url>
<connection>scm:git:git@github.com:paulbutcher/ScalaMock.git</connection>
Expand Down
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.4.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3")

addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.1.7")

addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")

0 comments on commit 1714ba6

Please sign in to comment.