Skip to content

Commit

Permalink
Publish a docs jar, but empty, for the failing sub-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Jun 12, 2023
1 parent 5f4d4bf commit 9aa7686
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ val enableMimaSettings = Seq(

// using Scala 3.3, docs generation fails sometimes in "readTasty" when processing compile-time annotations used by libraries
val disableScaladocSettingsWhenScala3 = Seq(
Compile / packageDoc / publishArtifact := {
if (scalaVersion.value == scala3) false else (Compile / packageDoc / publishArtifact).value
},
Compile / doc / sources := {
if (scalaVersion.value == scala3) Seq.empty else (Compile / doc / sources).value
}
Expand Down

0 comments on commit 9aa7686

Please sign in to comment.