Use Test configuration constant

This commit is contained in:
Matthew de Detrich 2024-01-24 22:29:03 +11:00 committed by Matthew de Detrich
parent 639d5ad8ee
commit e597a702b9

View file

@ -304,7 +304,7 @@ lazy val persistenceQuery = pekkoModule("persistence-query")
persistence % "compile->compile;test->test", persistence % "compile->compile;test->test",
remote % "provided", remote % "provided",
protobufV3, protobufV3,
streamTestkit % "test") streamTestkit % Test)
.settings(Dependencies.persistenceQuery) .settings(Dependencies.persistenceQuery)
.settings(AutomaticModuleName.settings("pekko.persistence.query")) .settings(AutomaticModuleName.settings("pekko.persistence.query"))
.settings(OSGi.persistenceQuery) .settings(OSGi.persistenceQuery)
@ -315,7 +315,7 @@ lazy val persistenceQuery = pekkoModule("persistence-query")
.enablePlugins(ScaladocNoVerificationOfDiagrams) .enablePlugins(ScaladocNoVerificationOfDiagrams)
lazy val persistenceShared = pekkoModule("persistence-shared") 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(Dependencies.persistenceShared)
.settings(AutomaticModuleName.settings("pekko.persistence.shared")) .settings(AutomaticModuleName.settings("pekko.persistence.shared"))
.settings(Test / fork := true) .settings(Test / fork := true)
@ -335,7 +335,7 @@ lazy val persistenceTestkit = pekkoModule("persistence-testkit")
persistenceTyped % "compile->compile;provided->provided;test->test", persistenceTyped % "compile->compile;provided->provided;test->test",
testkit % "compile->compile;test->test", testkit % "compile->compile;test->test",
actorTestkitTyped, actorTestkitTyped,
persistenceTck % "test") persistenceTck % Test)
.settings(Dependencies.persistenceTestKit) .settings(Dependencies.persistenceTestKit)
.settings(AutomaticModuleName.settings("pekko.persistence.testkit")) .settings(AutomaticModuleName.settings("pekko.persistence.testkit"))
.disablePlugins(MimaPlugin) .disablePlugins(MimaPlugin)
@ -343,8 +343,8 @@ lazy val persistenceTestkit = pekkoModule("persistence-testkit")
lazy val persistenceTypedTests = pekkoModule("persistence-typed-tests") lazy val persistenceTypedTests = pekkoModule("persistence-typed-tests")
.dependsOn( .dependsOn(
persistenceTyped, persistenceTyped,
persistenceTestkit % "test", persistenceTestkit % Test,
actorTestkitTyped % "test", actorTestkitTyped % Test,
persistence % "test->test", // for SteppingInMemJournal persistence % "test->test", // for SteppingInMemJournal
jackson % "test->test") jackson % "test->test")
.settings(PekkoBuild.mayChangeSettings) .settings(PekkoBuild.mayChangeSettings)
@ -398,7 +398,7 @@ lazy val remote =
pki, pki,
actorTests % "test->test", actorTests % "test->test",
testkit % "test->test", testkit % "test->test",
streamTestkit % "test", streamTestkit % Test,
jackson % "test->test") jackson % "test->test")
.settings(Dependencies.remote) .settings(Dependencies.remote)
.settings(AutomaticModuleName.settings("pekko.remote")) .settings(AutomaticModuleName.settings("pekko.remote"))
@ -413,7 +413,7 @@ lazy val remoteTests = pekkoModule("remote-tests")
.dependsOn( .dependsOn(
actorTests % "test->test", actorTests % "test->test",
remote % "compile->CompileJdk9;test->test", remote % "compile->CompileJdk9;test->test",
streamTestkit % "test", streamTestkit % Test,
multiNodeTestkit, multiNodeTestkit,
jackson % "test->test") jackson % "test->test")
.settings(Dependencies.remoteTests) .settings(Dependencies.remoteTests)