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 5cecc63 commit 0d6ae27
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ val java17Settings = Seq(

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

lazy val publishSettings = Seq(
Expand All @@ -86,11 +88,11 @@ lazy val sonatypeSettings = Seq(

lazy val root = project
.in(file("."))
.enablePlugins(ScalaJSPlugin)
.aggregate(mamlJs, mamlJvm, mamlSpark)
.settings(commonSettings)
.settings(publishSettings)
.settings(noPublishSettings)
.aggregate(mamlJs, mamlJvm, mamlSpark)
.enablePlugins(ScalaJSPlugin)

lazy val maml = crossProject(JSPlatform, JVMPlatform)
.in(file("."))
Expand Down

0 comments on commit 0d6ae27

Please sign in to comment.