From 791a56ce4d4836f7b04a9952fb2609bcac240998 Mon Sep 17 00:00:00 2001 From: Alessandro Zoffoli Date: Fri, 20 Sep 2024 15:23:48 +0200 Subject: [PATCH] Fix mima --- build.sbt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/build.sbt b/build.sbt index 84465a4..fde59e9 100644 --- a/build.sbt +++ b/build.sbt @@ -53,6 +53,10 @@ lazy val core: CrossProject = crossProject(JVMPlatform) .settings(commonSettings) .settings( name := "fs2-queues-core", + // TODO: Remove once next version is published + mimaBinaryIssueFilters ++= List( + ProblemFilters.exclude[DirectMissingMethodProblem]("com.commercetools.queue.QueuePublisher.sink") + ), libraryDependencies ++= List( "co.fs2" %%% "fs2-core" % Versions.fs2 ) @@ -174,6 +178,18 @@ lazy val gcpPubSub = crossProject(JVMPlatform) .settings(commonSettings) .settings( name := "fs2-queues-gcp-pubsub", + // TODO: Remove once next version is published + mimaBinaryIssueFilters ++= List( + ProblemFilters.exclude[DirectMissingMethodProblem]( + "com.commercetools.queue.gcp.pubsub.PubSubAdministration.this"), + ProblemFilters.exclude[DirectMissingMethodProblem]("com.commercetools.queue.gcp.pubsub.PubSubClient.unmanaged"), + ProblemFilters.exclude[DirectMissingMethodProblem]("com.commercetools.queue.gcp.pubsub.PubSubClient.this"), + ProblemFilters.exclude[DirectMissingMethodProblem]( + "com.commercetools.queue.gcp.pubsub.PubSubClient.unmanaged$default$5"), + ProblemFilters.exclude[DirectMissingMethodProblem]("com.commercetools.queue.gcp.pubsub.PubSubPublisher.this"), + ProblemFilters.exclude[DirectMissingMethodProblem]("com.commercetools.queue.gcp.pubsub.PubSubPuller.this"), + ProblemFilters.exclude[DirectMissingMethodProblem]("com.commercetools.queue.gcp.pubsub.PubSubSubscriber.this") + ), libraryDependencies ++= List( "com.google.cloud" % "google-cloud-pubsub" % "1.129.3", "com.google.cloud" % "google-cloud-monitoring" % "3.47.0"