From 5fa1778f532a6b9106f14bfab6de7f2aec8c13e6 Mon Sep 17 00:00:00 2001 From: Enno Runne <458526+ennru@users.noreply.github.com> Date: Mon, 13 Nov 2023 16:44:50 +0100 Subject: [PATCH 1/2] chore: improve dependency analysis --- build.sbt | 7 +++++-- project/plugins.sbt | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 77bdeb2ac..f2c6fa3e4 100644 --- a/build.sbt +++ b/build.sbt @@ -8,7 +8,10 @@ lazy val `akka-persistence-jdbc` = project .enablePlugins(ScalaUnidocPlugin) .disablePlugins(MimaPlugin, SitePlugin, CiReleasePlugin) .aggregate(core, docs, migrator) - .settings(publish / skip := true) + .settings( + name := "akka-persistence-jdbc-root", + publish / skip := true + ) lazy val core = project .in(file("core")) @@ -40,7 +43,7 @@ lazy val docs = project .enablePlugins(ProjectAutoPlugin, AkkaParadoxPlugin, ParadoxSitePlugin, PreprocessPlugin, PublishRsyncPlugin) .disablePlugins(MimaPlugin, CiReleasePlugin) .settings( - name := "Akka Persistence JDBC", + name := "Akka Persistence plugin for JDBC", publish / skip := true, makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value, previewPath := (Paradox / siteSubdirName).value, diff --git a/project/plugins.sbt b/project/plugins.sbt index 32fc879bc..582deb8d5 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -4,6 +4,9 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6") addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.3") addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.8.0") +// for dependency analysis +addDependencyTreePlugin + // release addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") From 68fc100c7129aba608f014d9cf1956c77e5121ea Mon Sep 17 00:00:00 2001 From: Enno Runne <458526+ennru@users.noreply.github.com> Date: Mon, 13 Nov 2023 16:49:53 +0100 Subject: [PATCH 2/2] sbt formatting --- build.sbt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index f2c6fa3e4..fba1c7b67 100644 --- a/build.sbt +++ b/build.sbt @@ -8,10 +8,7 @@ lazy val `akka-persistence-jdbc` = project .enablePlugins(ScalaUnidocPlugin) .disablePlugins(MimaPlugin, SitePlugin, CiReleasePlugin) .aggregate(core, docs, migrator) - .settings( - name := "akka-persistence-jdbc-root", - publish / skip := true - ) + .settings(name := "akka-persistence-jdbc-root", publish / skip := true) lazy val core = project .in(file("core"))