This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-cassandra.git


The following commit(s) were added to refs/heads/main by this push:
     new c216a1f  fix scala3 build issue (#86)
c216a1f is described below

commit c216a1f7a612353dd31880356f61c6dfad3703d3
Author: PJ Fanning <[email protected]>
AuthorDate: Sat Aug 19 18:13:44 2023 +0100

    fix scala3 build issue (#86)
    
    * fix scala3 build issue
    
    * Update Common.scala
---
 project/Common.scala | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/project/Common.scala b/project/Common.scala
index da3bd08..159667e 100644
--- a/project/Common.scala
+++ b/project/Common.scala
@@ -57,10 +57,13 @@ object Common extends AutoPlugin {
         
s"https://github.com/apache/incubator-pekko-persistence-cassandra/tree/${branch}€{FILE_PATH_EXT}#L€{FILE_LINE}";
       },
       "-doc-canonical-base-url",
-      "https://pekko.apache.org/api/pekko-persistence-cassandra/current/";,
-      "-skip-packages",
-      "org.apache.pekko.pattern" // for some reason Scaladoc creates this
-    ),
+      "https://pekko.apache.org/api/pekko-persistence-cassandra/current/";) ++ {
+      // for some reason Scaladoc creates this
+      if (scalaBinaryVersion == "3")
+        List("-skip-packages:org.apache.pekko.pattern")
+      else
+        List("-skip-packages", "org.apache.pekko.pattern")
+    },
     Compile / doc / scalacOptions --= Seq("-Xfatal-warnings"),
     autoAPIMappings := true,
     Test / logBuffered := System.getProperty("pekko.logBufferedTests", 
"false").toBoolean,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to