Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ ThisBuild / libraryDependencies ++= Seq(
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
"dev.zio" %% "zio-test-magnolia" % zioVersion % Test,
)
)

lazy val commonSettings = Seq(
scalacOptions ++= Seq(
Expand All @@ -125,8 +125,8 @@ lazy val commonSettings = Seq(
// - Mechanoid$package is just type re-exports with no runtime code
coverageExcludedPackages := "mechanoid\\.macros\\..*;mechanoid\\.machine\\.Macros.*;mechanoid\\.machine\\.MacroUtils.*;mechanoid\\.machine\\.AssemblyMacros.*;mechanoid\\.machine\\.MachineMacros.*;mechanoid\\.machine\\.ProducingMacros.*;mechanoid\\.core\\.Finite.*;mechanoid\\.core\\.Redactor.*;mechanoid\\.Mechanoid\\$package.*",
// Minimum coverage thresholds - fail build if coverage drops below these
coverageFailOnMinimum := true,
coverageMinimumStmtTotal := 95,
coverageFailOnMinimum := true,
coverageMinimumStmtTotal := 95,
coverageMinimumBranchTotal := 95,
)

Expand Down Expand Up @@ -170,15 +170,15 @@ lazy val postgres = project
description := "PostgreSQL persistence implementation for Mechanoid FSM library",
libraryDependencies ++= Seq(
"rocks.earlyeffect" %% "saferis" % "0.19.0",
"org.postgresql" % "postgresql" % "42.7.13",
"org.testcontainers" % "postgresql" % "1.21.4" % Test,
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
"org.postgresql" % "postgresql" % "42.7.13",
"org.testcontainers" % "postgresql" % "1.21.4" % Test,
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
),
// Override vulnerable transitive deps from testcontainers -> docker-java
dependencyOverrides ++= Seq(
"com.fasterxml.jackson.core" % "jackson-core" % "2.18.6",
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.18.6",
"com.fasterxml.jackson.core" % "jackson-core" % "2.18.9",
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.18.9",
"org.apache.commons" % "commons-compress" % "1.28.0",
),
)
Expand Down