diff --git a/.mima/bin-compat-check.scala b/.mima/bin-compat-check.scala index 94b82f4..0807427 100644 --- a/.mima/bin-compat-check.scala +++ b/.mima/bin-compat-check.scala @@ -1,5 +1,5 @@ //> using scala 2.13 -//> using dep com.typesafe::mima-core:1.1.6 +//> using dep com.typesafe::mima-core:1.2.0 // Binary-compatibility check between a released artifact and the current // build, via MiMa's core API (there is no scala-cli MiMa plugin). diff --git a/renovate.json b/renovate.json index e1d1b4b..eefb19b 100644 --- a/renovate.json +++ b/renovate.json @@ -146,6 +146,19 @@ ], "depNameTemplate": "org.scalatest:scalatest", "datasourceTemplate": "maven" + }, + { + "customType": "regex", + "description": "mima-core version pin in .mima/bin-compat-check.scala — a dedicated entry, not the generic cross-built manager above, because that manager's packageNameTemplate assumes a `_3` (Scala 3) artifact suffix, and mima-core is only published for Scala 2.13 (see the `//> using scala 2.13` pin in the same file)", + "managerFilePatterns": [ + "/(^|/)\\.mima/bin-compat-check\\.scala$/" + ], + "matchStrings": [ + "//> using dep com\\.typesafe::mima-core:(?[\\w.-]+)" + ], + "depNameTemplate": "com.typesafe:mima-core_2.13", + "packageNameTemplate": "com.typesafe:mima-core_2.13", + "datasourceTemplate": "maven" } ] }