Skip to content

Commit

Permalink
Remove publishTo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherDavenport committed Sep 10, 2019
1 parent c597e0f commit 177cea1
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -95,25 +95,6 @@ lazy val commonSettings = Seq(

lazy val releaseSettings = {
Seq(
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
credentials ++= (
for {
username <- Option(System.getenv().get("SONATYPE_USERNAME"))
password <- Option(System.getenv().get("SONATYPE_PASSWORD"))
} yield
Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
username,
password
)
).toSeq,
publishArtifact in Test := false,
scmInfo := Some(
ScmInfo(
Expand Down

0 comments on commit 177cea1

Please sign in to comment.