Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Commit

Permalink
Update default Sonatype publishTo target
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Galic committed Jun 26, 2019
1 parent d2d5764 commit b4eb939
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 0 additions & 4 deletions build.sbt
Expand Up @@ -7,10 +7,6 @@ lazy val root = (project in file(".")).settings(
scalaVersion := "2.12.6",
libraryDependencies ++= Dependencies.all,
sources in doc in Compile := List(),
publishTo := Some(
if (isSnapshot.value) { Opts.resolver.sonatypeSnapshots }
else { Opts.resolver.sonatypeReleases }
),
releasePublishArtifactsAction := PgpKeys.publishSigned.value,
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
Expand Down
4 changes: 2 additions & 2 deletions project/plugins.sbt
@@ -1,6 +1,6 @@
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.7")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.11")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.0-M2")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.5")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.2")
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
Expand Down
3 changes: 2 additions & 1 deletion sonatype.sbt
Expand Up @@ -6,4 +6,5 @@ scmInfo := Some(ScmInfo(url("https://github.com/guardian/tip"), "scm:git@github.
developers := List(
Developer(id="mario-galic", name="Mario Galic", email="", url=url("https://github.com/mario-galic")),
Developer(id="jacobwinch", name="Jacob Winch", email="", url=url("https://github.com/jacobwinch"))
)
)
publishTo := sonatypePublishTo.value

0 comments on commit b4eb939

Please sign in to comment.