Skip to content

Commit

Permalink
Fix publish settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pomadchin committed May 13, 2024
1 parent a615895 commit 5cecc63
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ val java17Settings = Seq(
)

lazy val noPublishSettings = Seq(
publish := {},
publishLocal := {},
publishArtifact := false
publish / skip := true,
publishLocal / skip := true
)

lazy val publishSettings = Seq(
Expand All @@ -88,8 +87,8 @@ lazy val sonatypeSettings = Seq(
lazy val root = project
.in(file("."))
.settings(commonSettings)
.settings(publishSettings) // these settings are needed to release all aggregated modules under this root module
.settings(noPublishSettings) // this is to exclue the root module itself from being published
.settings(publishSettings)
.settings(noPublishSettings)
.aggregate(mamlJs, mamlJvm, mamlSpark)
.enablePlugins(ScalaJSPlugin)

Expand Down

0 comments on commit 5cecc63

Please sign in to comment.