You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2024/11/20 12:34:05 UTC

(pekko-persistence-r2dbc) branch main updated: make r2dbc-postgresql dependency 'provided' (#173)

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/pekko-persistence-r2dbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 0f32bf3  make r2dbc-postgresql dependency 'provided' (#173)
0f32bf3 is described below

commit 0f32bf3a594c490828c56d45da5b052b7640a0bd
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Wed Nov 20 13:34:00 2024 +0100

    make r2dbc-postgresql dependency 'provided' (#173)
---
 project/Dependencies.scala | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index b0818d4..b555938 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -34,8 +34,7 @@ object Dependencies {
 
     val r2dbcSpi = "io.r2dbc" % "r2dbc-spi" % "1.0.0.RELEASE"
     val r2dbcPool = "io.r2dbc" % "r2dbc-pool" % "1.0.2.RELEASE"
-    val r2dbcPostgres = Seq(
-      "org.postgresql" % "r2dbc-postgresql" % "1.0.7.RELEASE")
+    val r2dbcPostgres = "org.postgresql" % "r2dbc-postgresql" % "1.0.7.RELEASE"
     val r2dbcMysql = "io.asyncer" % "r2dbc-mysql" % "1.3.0"
   }
 
@@ -76,18 +75,20 @@ object Dependencies {
     pekkoPersistenceQuery,
     r2dbcSpi,
     r2dbcPool,
+    r2dbcPostgres % "provided,test",
     r2dbcMysql % "provided,test",
     TestDeps.pekkoPersistenceTck,
     TestDeps.pekkoStreamTestkit,
     TestDeps.pekkoActorTestkitTyped,
     TestDeps.pekkoJackson,
     TestDeps.logback,
-    TestDeps.scalaTest) ++ r2dbcPostgres
+    TestDeps.scalaTest)
 
   val projection = Seq(
     pekkoPersistenceQuery,
     r2dbcSpi,
     r2dbcPool,
+    r2dbcPostgres % "provided,test",
     pekkoProjectionCore,
     TestDeps.pekkoProjectionEventSourced,
     TestDeps.pekkoProjectionDurableState,
@@ -96,7 +97,7 @@ object Dependencies {
     TestDeps.pekkoJackson,
     TestDeps.pekkoStreamTestkit,
     TestDeps.logback,
-    TestDeps.scalaTest) ++ r2dbcPostgres
+    TestDeps.scalaTest)
 
   val migration = Seq(
     "org.apache.pekko" %% "pekko-persistence-jdbc" % PekkoPersistenceJdbcVersion % Test,


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org