Skip to content

Commit

Permalink
Fix mima
Browse files Browse the repository at this point in the history
  • Loading branch information
thesamet committed Sep 21, 2023
1 parent 655daae commit 3312ec0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ lazy val runtime = (projectMatrix in file("scalapb-runtime"))
ProblemFilters.exclude[ReversedMissingMethodProblem]("scalapb.GeneratedEnum.asRecognized"),
ProblemFilters.exclude[InheritedNewAbstractMethodProblem]("*Extension*"),
ProblemFilters.exclude[Problem]("scalapb.options.*"),
ProblemFilters.exclude[FinalMethodProblem]("*.parseFrom"),
ProblemFilters.exclude[DirectMissingMethodProblem]("scalapb.compiler.GeneratorParams.*")
ProblemFilters.exclude[FinalMethodProblem]("*.parseFrom")
)
)
.jvmPlatform(
Expand Down Expand Up @@ -151,7 +150,9 @@ lazy val compilerPlugin = (projectMatrix in file("compiler-plugin"))
),
mimaPreviousArtifacts := Set("com.thesamet.scalapb" %% "compilerplugin" % MimaPreviousVersion),
mimaBinaryIssueFilters := Seq(
ProblemFilters.exclude[ReversedMissingMethodProblem]("scalapb.options.*")
ProblemFilters.exclude[ReversedMissingMethodProblem]("scalapb.options.*"),
ProblemFilters.exclude[DirectMissingMethodProblem]("scalapb.compiler.GeneratorParams.*"),
ProblemFilters.exclude[DirectMissingMethodProblem]("scalapb.gen.*"),
),
PB.protocVersion := protobufCompilerVersion,
Compile / PB.targets := Seq(
Expand Down

0 comments on commit 3312ec0

Please sign in to comment.