Skip to content

Commit

Permalink
Add publishTo settings
Browse files Browse the repository at this point in the history
  • Loading branch information
xerial committed Nov 29, 2017
1 parent 3b5536e commit 8a02b55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ val buildSettings = Seq[Setting[_]](
releaseStepCommand("sonatypeReleaseAll"),
pushChanges
),
// Add sonatype repository settings
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
),
// Find bugs
findbugsReportType := Some(FindbugsReport.FancyHtml),
findbugsReportPath := Some(crossTarget.value / "findbugs" / "report.html"),
Expand Down

0 comments on commit 8a02b55

Please sign in to comment.