Skip to content

Commit

Permalink
previousVersion should be an Option so we can easily disable MiMa
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Nov 1, 2023
1 parent 6025792 commit 798737d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ object Common extends AutoPlugin {
override def trigger = allRequirements
override def requires = JvmPlugin

val previousVersion = "2.6.10"
val previousVersion: Option[String] = Some("2.6.10")

override def projectSettings = Seq(
organization := "org.playframework.anorm",
Expand Down Expand Up @@ -97,7 +97,7 @@ object Common extends AutoPlugin {
Test / scalacOptions ~= (_.filterNot(_ == "-Werror")),
scalacOptions ~= (_.filterNot(_ == "-Xfatal-warnings")),
Test / fork := true,
mimaPreviousArtifacts := Set(organization.value %% moduleName.value % previousVersion),
mimaPreviousArtifacts := previousVersion.map(organization.value %% moduleName.value % _).toSet,
headerLicense := Some(
HeaderLicense.Custom(
"Copyright (C) from 2022 The Play Framework Contributors <https://github.com/playframework>, 2011-2021 Lightbend Inc. <https://www.lightbend.com>"
Expand Down

0 comments on commit 798737d

Please sign in to comment.