aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-11-22 13:57:30 +0100
committerGuillaume Martres <smarter@ubuntu.com>2016-11-22 14:00:27 +0100
commit3a831d9308f571ea28e2d51cb522164197bce891 (patch)
tree969a1bb47edb78253c15b8be5d310de7224a3487 /project
parentc488e0188058fc83a6443ba390a66d5daf9d3c69 (diff)
downloaddotty-3a831d9308f571ea28e2d51cb522164197bce891.tar.gz
dotty-3a831d9308f571ea28e2d51cb522164197bce891.tar.bz2
dotty-3a831d9308f571ea28e2d51cb522164197bce891.zip
Disable scaladoc generation for dotty-compiler
We still publish an empty dotty-compiler_2.11-javadoc.jar to make sonatype happy.
Diffstat (limited to 'project')
-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),