Skip to content

Commit

Permalink
Try to fix sbt publish on more time
Browse files Browse the repository at this point in the history
  • Loading branch information
tmccombs committed Jun 3, 2020
1 parent 865b3d2 commit 6fd5407
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
lazy val `akka-actor-thread-context` = project.cross

lazy val `akka-actor-thread-context_2.11` = `akka-actor-thread-context`("2.11.12")
lazy val `akka-actor-thread-context_2.12` = `akka-actor-thread-context`("2.12.11")
lazy val `akka-actor-thread-context_2.13` = `akka-actor-thread-context`("2.13.2")
lazy val commonSettings = Seq(publishTo := sonatypePublishToBundle.value)

lazy val `akka-actor-thread-context_2.11` = `akka-actor-thread-context`("2.11.12").settings(commonSettings)
lazy val `akka-actor-thread-context_2.12` = `akka-actor-thread-context`("2.12.11").settings(commonSettings)
lazy val `akka-actor-thread-context_2.13` = `akka-actor-thread-context`("2.13.2").settings(commonSettings)

inScope(Global)(Seq(
credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", sys.env.getOrElse("SONATYPE_USERNAME", ""), sys.env.getOrElse("SONATYPE_PASSWORD", "")),
Expand All @@ -24,5 +26,4 @@ inScope(Global)(Seq(
version := sys.props.getOrElse("build.version", "0-SNAPSHOT")
))

skip in publish := true
publishTo := sonatypePublishToBundle.value

0 comments on commit 6fd5407

Please sign in to comment.