Skip to content

Commit

Permalink
Use Test configuration constant
Browse files Browse the repository at this point in the history
  • Loading branch information
mdedetrich committed Jan 24, 2024
1 parent 639d5ad commit e597a70
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ lazy val persistenceQuery = pekkoModule("persistence-query")
persistence % "compile->compile;test->test",
remote % "provided",
protobufV3,
streamTestkit % "test")
streamTestkit % Test)
.settings(Dependencies.persistenceQuery)
.settings(AutomaticModuleName.settings("pekko.persistence.query"))
.settings(OSGi.persistenceQuery)
Expand All @@ -315,7 +315,7 @@ lazy val persistenceQuery = pekkoModule("persistence-query")
.enablePlugins(ScaladocNoVerificationOfDiagrams)

lazy val persistenceShared = pekkoModule("persistence-shared")
.dependsOn(persistence % "test->test", testkit % "test->test", remote % "test")
.dependsOn(persistence % "test->test", testkit % "test->test", remote % Test)
.settings(Dependencies.persistenceShared)
.settings(AutomaticModuleName.settings("pekko.persistence.shared"))
.settings(Test / fork := true)
Expand All @@ -335,16 +335,16 @@ lazy val persistenceTestkit = pekkoModule("persistence-testkit")
persistenceTyped % "compile->compile;provided->provided;test->test",
testkit % "compile->compile;test->test",
actorTestkitTyped,
persistenceTck % "test")
persistenceTck % Test)
.settings(Dependencies.persistenceTestKit)
.settings(AutomaticModuleName.settings("pekko.persistence.testkit"))
.disablePlugins(MimaPlugin)

lazy val persistenceTypedTests = pekkoModule("persistence-typed-tests")
.dependsOn(
persistenceTyped,
persistenceTestkit % "test",
actorTestkitTyped % "test",
persistenceTestkit % Test,
actorTestkitTyped % Test,
persistence % "test->test", // for SteppingInMemJournal
jackson % "test->test")
.settings(PekkoBuild.mayChangeSettings)
Expand Down Expand Up @@ -398,7 +398,7 @@ lazy val remote =
pki,
actorTests % "test->test",
testkit % "test->test",
streamTestkit % "test",
streamTestkit % Test,
jackson % "test->test")
.settings(Dependencies.remote)
.settings(AutomaticModuleName.settings("pekko.remote"))
Expand All @@ -413,7 +413,7 @@ lazy val remoteTests = pekkoModule("remote-tests")
.dependsOn(
actorTests % "test->test",
remote % "compile->CompileJdk9;test->test",
streamTestkit % "test",
streamTestkit % Test,
multiNodeTestkit,
jackson % "test->test")
.settings(Dependencies.remoteTests)
Expand Down

0 comments on commit e597a70

Please sign in to comment.