Skip to content

Commit

Permalink
Make sure Sonatype plugin does not override Common settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Nov 5, 2024
1 parent 56e45fa commit a8ec4dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ import sbt._
import sbt.plugins.JvmPlugin
import com.typesafe.tools.mima.plugin.MimaKeys.mimaPreviousArtifacts

import xerial.sbt.Sonatype
import xerial.sbt.Sonatype.autoImport._

object Common extends AutoPlugin {
import com.typesafe.tools.mima.core._

override def trigger = allRequirements
override def requires = JvmPlugin
override def requires = JvmPlugin && Sonatype

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

Expand Down

0 comments on commit a8ec4dc

Please sign in to comment.