Skip to content

Commit

Permalink
exclude some FinalMethodProblems in the shaded package from MiMa checks
Browse files Browse the repository at this point in the history
  • Loading branch information
bpholt committed Oct 14, 2024
1 parent cbca3be commit c04e95d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,17 @@ lazy val `secure-config` = (project in file("."))
Compile / smithy4sSmithyLibrary := false,
Compile / scalafix / unmanagedSources := (Compile / sources).value,
scalafixOnCompile := true,
mimaBinaryIssueFilters ++= {
import com.typesafe.tools.mima.core.*

// exclusions in this package should be safe since everything in there should be package private
val shadedPackage = "com.dwolla.config.smithy_shaded.com.amazonaws.kms"

Seq(
ProblemFilters.exclude[FinalMethodProblem](s"$shadedPackage.KMSOperation#Transformed.transform"),
ProblemFilters.exclude[FinalMethodProblem](s"$shadedPackage.KMSOperation#reified.transform"),
)
}
)
.enablePlugins(
Smithy4sCodegenPlugin,
Expand Down

0 comments on commit c04e95d

Please sign in to comment.