diff --git a/build.sbt b/build.sbt index d5823e3b8f..b3537cc746 100644 --- a/build.sbt +++ b/build.sbt @@ -85,9 +85,7 @@ lazy val commonSettings = Seq( ) lazy val noPublishSettings = Seq( - publish := {}, - publishLocal := {}, - publishArtifact := false + skip in publish := true ) lazy val publishSettings = Seq( diff --git a/project/plugins.sbt b/project/plugins.sbt index 03e2d34b65..443a20c5ee 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,7 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.9.3") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0") addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.7") +addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.2") addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.1") addSbtPlugin("org.wartremover" % "sbt-wartremover" % "2.2.1")