aboutsummaryrefslogtreecommitdiff
path: root/project/Build.scala
diff options
context:
space:
mode:
Diffstat (limited to 'project/Build.scala')
-rw-r--r--project/Build.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/project/Build.scala b/project/Build.scala
index 699c7ea8a..5eb05202b 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -140,6 +140,11 @@ object DottyBuild extends Build {
settings(
overrideScalaVersionSetting,
+ // Disable scaladoc generation, it's way too slow and we'll replace it
+ // by dottydoc anyway. We still publish an empty -javadoc.jar to make
+ // sonatype happy.
+ sources in (Compile, doc) := Seq(),
+
// necessary evil: dottydoc currently needs to be included in the dotty
// project, for sbt integration
unmanagedSourceDirectories in Compile := Seq((scalaSource in Compile).value),