Skip to content

Commit ab0b85d

Browse files
committed
Add tlBaseVersion, remove old mima settings, sbt-typelevel does this now.
1 parent defd7cf commit ab0b85d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build.sbt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ val Versions = new {
1313
ThisBuild / crossScalaVersions := Versions.scalaVersions
1414
ThisBuild / scalaVersion := Versions.scala213
1515
ThisBuild / tlFatalWarnings := false //TODO: ... fix this someday
16+
17+
ThisBuild / tlBaseVersion := "0.15"
18+
1619
val semVerRegex = """(\d+\.\d+\.)(\d+)(?:-SNAPSHOT)?""".r
1720

1821
lazy val root = tlCrossRootProject.aggregate(optics)
@@ -24,10 +27,6 @@ lazy val optics = crossProject(JVMPlatform, JSPlatform)
2427
.settings(
2528
name := "circe-optics",
2629
description := "Monocle lenses and other tools for working with JSON values",
27-
mimaPreviousArtifacts := (version.value match {
28-
case semVerRegex(majorMinor, "0") => Set.empty
29-
case semVerRegex(majorMinor, patch) => Set("io.circe" %% "circe-optics" % (majorMinor + (patch.toInt - 1)))
30-
}),
3130
libraryDependencies ++= Seq(
3231
"dev.optics" %%% "monocle-core" % Versions.monocle,
3332
"dev.optics" %%% "monocle-macro" % Versions.monocle % Test,

0 commit comments

Comments
 (0)