You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by jr...@apache.org on 2022/11/03 11:24:04 UTC
[incubator-pekko-http] 34/47: docs: use correct 'skip-packages' scalac option on Scala 3 (#4109)
This is an automated email from the ASF dual-hosted git repository.
jrudolph pushed a commit to branch scala-3
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git
commit 8090ebc20d3e6e59c66284700589b9bb9e7ca160
Author: Arnout Engelen <ar...@bzzt.net>
AuthorDate: Mon Apr 25 11:36:44 2022 +0200
docs: use correct 'skip-packages' scalac option on Scala 3 (#4109)
---
project/Doc.scala | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/project/Doc.scala b/project/Doc.scala
index 681b0a8f6..4b407a598 100644
--- a/project/Doc.scala
+++ b/project/Doc.scala
@@ -63,11 +63,15 @@ object Scaladoc extends AutoPlugin {
"-sourcepath", base.getAbsolutePath,
"-doc-title", "Akka HTTP",
"-doc-version", ver,
- // Workaround https://issues.scala-lang.org/browse/SI-10028
- "-skip-packages", "akka.pattern:org.specs2",
"-doc-canonical-base-url", "https://doc.akka.io/api/akka-http/current/"
) ++
- plugins.map(plugin => "-Xplugin:" + plugin)
+ plugins.map(plugin => "-Xplugin:" + plugin) ++
+ // Workaround https://issues.scala-lang.org/browse/SI-10028
+ (if (scalaBinaryVersion == "3")
+ // https://github.com/lampepfl/dotty/issues/14939
+ List("-skip-packages:akka.pattern:org.specs2")
+ else
+ List("-skip-packages", "akka.pattern:org.specs2"))
CliOptions.scaladocDiagramsEnabled.ifTrue("-diagrams").toList ::: opts
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org