Skip to content

Commit

Permalink
No publish rootDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
labra committed Jun 4, 2021
1 parent a3a275f commit 49fca12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ def priorTo2_13(scalaVersion: String): Boolean =
case _ => false
}

lazy val root = project
lazy val rootDocument = project
.in(file("."))
.settings(publish / skip := true)
.aggregate(document,docs)

lazy val document = project
Expand All @@ -80,7 +81,7 @@ lazy val document = project
lazy val docs = project
.in(file("document-docs"))
.settings(
noPublishSettings,
publish / skip := true,
mdocSettings,
ScalaUnidoc / unidoc / unidocProjectFilter := inAnyProject -- inProjects(noDocProjects: _*)
)
Expand Down Expand Up @@ -108,7 +109,7 @@ lazy val mdocSettings = Seq(
)
)

lazy val noPublishSettings = publish / skip := true



/* Grouped Settings */
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ThisBuild / version := "0.0.22-SNAPSHOT"
ThisBuild / version := "0.0.23-SNAPSHOT"

0 comments on commit 49fca12

Please sign in to comment.