Skip to content

Commit

Permalink
make r2dbc-postgresql dependency 'provided' (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Nov 20, 2024
1 parent 719e9eb commit 0f32bf3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 0f32bf3

Please sign in to comment.