Skip to content

Commit

Permalink
Merge pull request #40 from codacy/update-sonatype-publishTo
Browse files Browse the repository at this point in the history
Update sonatype publishTo
  • Loading branch information
rtfpessoa authored Jul 29, 2018
2 parents 56ba667 + a55f498 commit f19a152
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,7 @@ publishArtifact in Test := false

pomIncludeRepository := { _ => false }

publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishTo := sonatypePublishTo.value

startYear := Some(2014)

Expand Down

0 comments on commit f19a152

Please sign in to comment.