@@ -25,6 +25,8 @@ commands += Command.command("testStaging") { state =>
2525 prep ::: " mimaReportBinaryIssues" :: state
2626}
2727
28+ val supportedScalaVersions = Seq (" 2.12.13" , " 2.13.5" )
29+
2830val root = project.in(file(" ." )).settings(
2931 name := " mima" ,
3032 crossScalaVersions := Nil ,
@@ -34,9 +36,12 @@ val root = project.in(file(".")).settings(
3436aggregateProjects(core, sbtplugin, functionalTests)
3537
3638val munit = " org.scalameta" %% " munit" % " 0.7.25"
39+ val scalaCollectionCompat = " org.scala-lang.modules" %% " scala-collection-compat" % " 2.4.3"
3740
3841val core = project.settings(
3942 name := " mima-core" ,
43+ crossScalaVersions := supportedScalaVersions,
44+ libraryDependencies += scalaCollectionCompat,
4045 libraryDependencies += munit % Test ,
4146 testFrameworks += new TestFramework (" munit.Framework" ),
4247 MimaSettings .mimaSettings,
@@ -56,7 +61,7 @@ val core = project.settings(
5661val sbtplugin = project.enablePlugins(SbtPlugin ).dependsOn(core).settings(
5762 name := " sbt-mima-plugin" ,
5863 // drop the previous value to drop running Test/compile
59- scriptedDependencies := Def .task(()).dependsOn(publishLocal, publishLocal in core ).value,
64+ scriptedDependencies := Def .task(()).dependsOn(publishLocal, core / publishLocal ).value,
6065 scriptedLaunchOpts += s " -Dplugin.version= ${version.value}" ,
6166 scriptedLaunchOpts += s " -Dsbt.boot.directory= ${file(sys.props(" user.home" )) / " .sbt" / " boot" }" ,
6267 MimaSettings .mimaSettings,
@@ -67,6 +72,7 @@ val functionalTests = Project("functional-tests", file("functional-tests"))
6772 .dependsOn(core)
6873 .configs(IntegrationTest )
6974 .settings(
75+ crossScalaVersions := supportedScalaVersions,
7076 libraryDependencies += " com.typesafe" % " config" % " 1.4.1" ,
7177 libraryDependencies += " io.get-coursier" %% " coursier" % " 2.0.16" ,
7278 libraryDependencies += munit,
0 commit comments