From 00b51d53b26b0f20b4d0ed2de2b8628a1c05072c Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Mon, 8 Jul 2019 17:31:25 +0200 Subject: [PATCH] Tweak mima config --- project/Mima.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/project/Mima.scala b/project/Mima.scala index 7326f5eea..14c69b5b2 100644 --- a/project/Mima.scala +++ b/project/Mima.scala @@ -37,7 +37,9 @@ object Mima { Seq( // Removed unused method, shouldn't have been there in the first place - ProblemFilters.exclude[DirectMissingMethodProblem]("lmcoursier.credentials.DirectCredentials.authentication") + ProblemFilters.exclude[DirectMissingMethodProblem]("lmcoursier.credentials.DirectCredentials.authentication"), + // ignore shaded and internal stuff related errors + (pb: Problem) => pb.matchName.forall(!_.startsWith("lmcoursier.internal.")) ) } } @@ -48,9 +50,7 @@ object Mima { Seq( // Should have been put under lmcoursier.internal? - (pb: Problem) => pb.matchName.forall(!_.startsWith("lmcoursier.definitions.ToCoursier.")), - // ignore shaded and internal stuff related errors - (pb: Problem) => pb.matchName.forall(!_.startsWith("lmcoursier.internal.")) + (pb: Problem) => pb.matchName.forall(!_.startsWith("lmcoursier.definitions.ToCoursier.")) ) } }