Skip to content

Commit

Permalink
fix: move mocks into the test modules
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro committed Jun 28, 2024
1 parent 6117a3c commit 1b16469
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -731,10 +731,18 @@ lazy val polluxCore = project
name := "pollux-core",
libraryDependencies ++= D_Pollux.coreDependencies
)
.dependsOn(shared)
.dependsOn(agentWalletAPI)
.dependsOn(polluxVcJWT)
.dependsOn(vc, resolver, agentDidcommx, eventNotification, polluxAnoncreds, polluxSDJWT)
.dependsOn(
shared,
castorCore % "compile->compile;test->test", // Test is for MockDIDService
agentWalletAPI % "compile->compile;test->test", // Test is for MockManagedDIDService
vc,
resolver,
agentDidcommx,
eventNotification,
polluxAnoncreds,
polluxVcJWT,
polluxSDJWT,
)

lazy val polluxDoobie = project
.in(file("pollux/sql-doobie"))
Expand Down Expand Up @@ -864,17 +872,16 @@ lazy val cloudAgentServer = project
.enablePlugins(BuildInfoPlugin)
.dependsOn(agentWalletAPI % "compile->compile;test->test")
.dependsOn(
sharedTest % "test->test",
agent,
polluxCore,
polluxCore % "compile->compile;test->test",
polluxDoobie,
polluxAnoncreds,
connectCore,
connectCore % "compile->compile;test->test", // Test is for MockConnectionService
connectDoobie,
castorCore,
eventNotification
eventNotification,
)
.dependsOn(sharedTest % "test->test")
.dependsOn(polluxCore % "compile->compile;test->test")

// ############################
// #### Release process #####
Expand Down

0 comments on commit 1b16469

Please sign in to comment.