aboutsummaryrefslogtreecommitdiff
path: root/project/SparkBuild.scala
diff options
context:
space:
mode:
Diffstat (limited to 'project/SparkBuild.scala')
-rw-r--r--project/SparkBuild.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 4b44469576..4c01ad3c33 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -720,6 +720,7 @@ object Unidoc {
// Skip class names containing $ and some internal packages in Javadocs
unidocAllSources in (JavaUnidoc, unidoc) := {
ignoreUndocumentedPackages((unidocAllSources in (JavaUnidoc, unidoc)).value)
+ .map(_.filterNot(_.getCanonicalPath.contains("org/apache/hadoop")))
},
// Javadoc options: create a window title, and group key packages on index page
@@ -733,7 +734,8 @@ object Unidoc {
unidocSourceBase := s"https://github.com/apache/spark/tree/v${version.value}",
scalacOptions in (ScalaUnidoc, unidoc) ++= Seq(
- "-groups" // Group similar methods together based on the @group annotation.
+ "-groups", // Group similar methods together based on the @group annotation.
+ "-skip-packages", "org.apache.hadoop"
) ++ (
// Add links to sources when generating Scaladoc for a non-snapshot release
if (!isSnapshot.value) {