diff --git a/build.sbt b/build.sbt index a5b216e..143783d 100644 --- a/build.sbt +++ b/build.sbt @@ -15,6 +15,7 @@ val compilerOptions = Seq( ) val circeVersion = "0.13.0" +val previousCirceGoldenVersion = "0.2.0" def priorTo2_13(scalaVersion: String): Boolean = CrossVersion.partialVersion(scalaVersion) match { @@ -65,6 +66,7 @@ lazy val golden = crossProject(JSPlatform, JVMPlatform) .settings(allSettings) .settings( moduleName := "circe-golden", + mimaPreviousArtifacts := Set("io.circe" %% "circe-golden" % previousCirceGoldenVersion), libraryDependencies ++= Seq( "io.circe" %%% "circe-core" % circeVersion, "io.circe" %%% "circe-parser" % circeVersion, @@ -100,9 +102,7 @@ lazy val publishSettings = Seq( licenses := Seq("Apache 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), publishMavenStyle := true, publishArtifact in Test := false, - pomIncludeRepository := { _ => - false - }, + pomIncludeRepository := { _ => false }, publishTo := { val nexus = "https://oss.sonatype.org/" if (isSnapshot.value) diff --git a/project/plugins.sbt b/project/plugins.sbt index c5b613e..578dc87 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,7 @@ addSbtPlugin("com.dwijnand" % "sbt-travisci" % "1.2.0") addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.13") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1") +addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.7.0") addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3") addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0") addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.0")