From a275e8c3289b3c9067efc4e27fd943b12cf1d0c2 Mon Sep 17 00:00:00 2001 From: laglangyue Date: Sun, 31 Mar 2024 09:00:00 +0800 Subject: [PATCH 1/4] wip --- build.sbt | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sbt b/build.sbt index 92459a55..fd666172 100644 --- a/build.sbt +++ b/build.sbt @@ -115,6 +115,7 @@ lazy val docs = project .settings( name := "Apache Pekko Persistence Cassandra", (Compile / paradox) := (Compile / paradox).dependsOn(root / dumpSchema).value, + libraryDependencies ++= Dependencies.docDependencies, publish / skip := true, publish / skip := true, makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value, previewPath := (Paradox / siteSubdirName).value, From 07ea35c0f393c284c35ded96c4716247a5f8c0de Mon Sep 17 00:00:00 2001 From: laglangyue Date: Sun, 31 Mar 2024 09:03:51 +0800 Subject: [PATCH 2/4] add lost dependency(scala-java8-compat) for doc --- build.sbt | 2 +- project/Dependencies.scala | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index fd666172..60f641f7 100644 --- a/build.sbt +++ b/build.sbt @@ -115,7 +115,7 @@ lazy val docs = project .settings( name := "Apache Pekko Persistence Cassandra", (Compile / paradox) := (Compile / paradox).dependsOn(root / dumpSchema).value, - libraryDependencies ++= Dependencies.docDependencies, publish / skip := true, + libraryDependencies ++= Dependencies.docsDependencies, publish / skip := true, publish / skip := true, makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value, previewPath := (Paradox / siteSubdirName).value, diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 32177a3c..299307c4 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -82,4 +82,8 @@ object Dependencies { "org.apache.pekko" %% "pekko-actor-testkit-typed" % pekkoVersion % Test, "org.apache.pekko" %% "pekko-stream-testkit" % pekkoVersion % Test, logback % Test) + + val docsDependencies = Seq( + "org.scala-lang.modules" %% "scala-java8-compat" % "1.0.2" + ) } From 97607e35d0d0d77866ba325d29746856912b24fd Mon Sep 17 00:00:00 2001 From: tangjiafu Date: Sun, 31 Mar 2024 17:32:02 +0800 Subject: [PATCH 3/4] format --- project/Dependencies.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 299307c4..c4c9836e 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -84,6 +84,5 @@ object Dependencies { logback % Test) val docsDependencies = Seq( - "org.scala-lang.modules" %% "scala-java8-compat" % "1.0.2" - ) + "org.scala-lang.modules" %% "scala-java8-compat" % "1.0.2" % Test) } From 8cd7ee129e8bb5b7edcf84859295e02031005f11 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 31 Mar 2024 11:39:44 +0200 Subject: [PATCH 4/4] remove duplicate setting --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 60f641f7..e81abbf3 100644 --- a/build.sbt +++ b/build.sbt @@ -115,7 +115,7 @@ lazy val docs = project .settings( name := "Apache Pekko Persistence Cassandra", (Compile / paradox) := (Compile / paradox).dependsOn(root / dumpSchema).value, - libraryDependencies ++= Dependencies.docsDependencies, publish / skip := true, + libraryDependencies ++= Dependencies.docsDependencies, publish / skip := true, makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value, previewPath := (Paradox / siteSubdirName).value,