From 1541fcecae7c7ff860d9346fa8b9e7d7a8f2ebae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Wierci=C5=84ski?= Date: Mon, 9 Jan 2023 14:47:34 +0100 Subject: [PATCH] silent mima --- build.sbt | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/build.sbt b/build.sbt index b3bab8f2..264e8a56 100644 --- a/build.sbt +++ b/build.sbt @@ -74,17 +74,18 @@ def compilerPlugins = else Seq(compilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"))) val mimaSettings = - mimaPreviousArtifacts := { - val currentVersion = version.value - lazy val onlyPatchChanged = - previousStableVersion.value.flatMap(CrossVersion.partialVersion) == CrossVersion.partialVersion(currentVersion) - lazy val isRcOrMilestone = currentVersion.contains("-M") || currentVersion.contains("-RC") - if (onlyPatchChanged && !isRcOrMilestone) { - previousStableVersion.value.map(organization.value %% moduleName.value % _).toSet - } else { - Set.empty - } - } + //mimaPreviousArtifacts := { + // val currentVersion = version.value + // lazy val onlyPatchChanged = + // previousStableVersion.value.flatMap(CrossVersion.partialVersion) == CrossVersion.partialVersion(currentVersion) + // lazy val isRcOrMilestone = currentVersion.contains("-M") || currentVersion.contains("-RC") + // if (onlyPatchChanged && !isRcOrMilestone) { + // previousStableVersion.value.map(organization.value %% moduleName.value % _).toSet + // } else { + // Set.empty + // } + //} + mimaPreviousArtifacts := Set.empty // Workaround for https://github.com/typelevel/sbt-tpolecat/issues/102 val jsSettings = scalacOptions ++= (if (scalaVersion.value.startsWith("3")) Seq("-scalajs") else Seq())