Skip to content

Commit 08d8336

Browse files
committed
Fix publishing
1 parent 3f3ab9a commit 08d8336

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

project/Build.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ object Build {
174174
resourceDirectory in Compile := baseDirectory.value / "resources",
175175
resourceDirectory in Test := baseDirectory.value / "test-resources",
176176

177+
// Disable scaladoc generation, it's way too slow and we'll replace it
178+
// by dottydoc anyway. We still publish an empty -javadoc.jar to make
179+
// sonatype happy.
180+
sources in (Compile, doc) := Seq(),
181+
177182
// Prevent sbt from rewriting our dependencies
178183
scalaModuleInfo ~= (_.map(_.withOverrideScalaVersion(false))),
179184

@@ -680,11 +685,6 @@ object Build {
680685
}
681686

682687
lazy val nonBootstrapedDottyCompilerSettings = commonDottyCompilerSettings ++ Seq(
683-
// Disable scaladoc generation, it's way too slow and we'll replace it
684-
// by dottydoc anyway. We still publish an empty -javadoc.jar to make
685-
// sonatype happy.
686-
sources in (Compile, doc) := Seq(),
687-
688688
// packageAll packages all and then returns a map with the abs location
689689
packageAll := {
690690
Map(

0 commit comments

Comments
 (0)