Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
plokhotnyuk committed Sep 27, 2019
1 parent 8846f73 commit 854f69c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lazy val commonSettings = Seq(
url = url("https://twitter.com/aplokhotnyuk")
)
),
resolvers += "Sonatype OSS Staging" at "https://oss.sonatype.org/content/repositories/staging",
resolvers += Opts.resolver.sonatypeStaging,
scalaVersion := "2.13.0",
javacOptions ++= Seq("-source", "1.8", "-target", "1.8"),
scalacOptions ++= Seq(
Expand All @@ -44,12 +44,12 @@ lazy val commonSettings = Seq(

lazy val noPublishSettings = Seq(
skip in publish := true,
publishTo := sonatypePublishToBundle.value,
publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeSnapshots else Opts.resolver.sonatypeStaging),
mimaPreviousArtifacts := Set()
)

lazy val publishSettings = Seq(
publishTo := sonatypePublishToBundle.value,
publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeSnapshots else Opts.resolver.sonatypeStaging),
sonatypeProfileName := "com.github.plokhotnyuk",
scmInfo := Some(
ScmInfo(
Expand Down
2 changes: 1 addition & 1 deletion release.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ releaseProcess := Seq[ReleaseStep](
commitReleaseVersion,
tagRelease,
releaseStepCommandAndRemaining("+publishSigned"),
releaseStepCommand("sonatypeBundleRelease"),
releaseStepCommand("sonatypeReleaseAll"),
setNextVersion,
commitNextVersion,
pushChanges
Expand Down

0 comments on commit 854f69c

Please sign in to comment.