From b2792c1a98f329d6383f38c8413b8a28bb2121b6 Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Wed, 1 Nov 2023 23:09:13 +0100 Subject: [PATCH] Enable MiMa --- build.sbt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 67170ca..391c9af 100644 --- a/build.sbt +++ b/build.sbt @@ -10,6 +10,8 @@ Global / onLoad := (Global / onLoad).value.andThen { s => s } +val previousVersion: Option[String] = Some("3.0.0") + lazy val cachecontrol = (project in file(".")) .enablePlugins(Common) .settings( @@ -19,9 +21,7 @@ lazy val cachecontrol = (project in file(".")) slf4j, slf4jSimple % Test ), - // On the main branch we don't check for incompatible changes, - // because it's ok to introduce breaking changes between minor version bumps - mimaPreviousArtifacts := Set.empty, + mimaPreviousArtifacts := previousVersion.map(organization.value %% moduleName.value % _).toSet, headerLicense := { Some( HeaderLicense.Custom(