Skip to content

Commit

Permalink
Trying to get sonatype publishing working
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrodgers committed May 20, 2021
1 parent cf487a8 commit 2c6b851
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sonatype.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
sonatypeCredentialHost := "s01.oss.sonatype.org"

sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
ThisBuild / publishTo := {
val nexus = "https://s01.oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishTo := sonatypePublishToBundle.value

import xerial.sbt.Sonatype._

Expand Down

0 comments on commit 2c6b851

Please sign in to comment.