Skip to content

Commit 3a831d9

Browse files
committed
Disable scaladoc generation for dotty-compiler
We still publish an empty dotty-compiler_2.11-javadoc.jar to make sonatype happy.
1 parent c488e01 commit 3a831d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

project/Build.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ object DottyBuild extends Build {
140140
settings(
141141
overrideScalaVersionSetting,
142142

143+
// Disable scaladoc generation, it's way too slow and we'll replace it
144+
// by dottydoc anyway. We still publish an empty -javadoc.jar to make
145+
// sonatype happy.
146+
sources in (Compile, doc) := Seq(),
147+
143148
// necessary evil: dottydoc currently needs to be included in the dotty
144149
// project, for sbt integration
145150
unmanagedSourceDirectories in Compile := Seq((scalaSource in Compile).value),

0 commit comments

Comments
 (0)