From 6c951eef0d42f246ca9e7c8f48764bfc0e949f60 Mon Sep 17 00:00:00 2001 From: Alexandru Nedelcu Date: Tue, 10 May 2022 19:05:59 +0300 Subject: [PATCH] Fix --- build.sbt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index f55e9a6..eab6bdd 100644 --- a/build.sbt +++ b/build.sbt @@ -101,9 +101,6 @@ lazy val sharedSettings = Seq( Test / logBuffered := false, IntegrationTest / logBuffered := false, - // https://github.com/lightbend/mima/pull/289 - ThisBuild / mimaFailOnNoPrevious := false, - // --------------------------------------------------------------------------- // Options meant for publishing on Maven Central @@ -193,6 +190,10 @@ def defaultCrossProjectConfiguration( } }, ) + val sharedJVMSettings = Seq( + // https://github.com/lightbend/mima/pull/289 + ThisBuild / mimaFailOnNoPrevious := false, + ) val cross = pr .configure(defaultPlugins) .settings(sharedSettings) @@ -206,7 +207,7 @@ def defaultCrossProjectConfiguration( case JSPlatform => acc.jsSettings(sharedJavascriptSettings) case _ => - acc + acc.jvmSettings(sharedJVMSettings) } } }