@@ -4,7 +4,7 @@ inThisBuild(Def.settings(
44 version := " 1.1.0-SNAPSHOT" ,
55 organization := " org.scala-js" ,
66
7- crossScalaVersions := Seq (" 2.12.8" , " 2.10.7" , " 2.11.12" , " 2.13.0" ),
7+ crossScalaVersions := Seq (" 2.12.8" , " 2.10.7" , " 2.11.12" , " 2.13.0" , " 3.0.0 " ),
88 scalaVersion := crossScalaVersions.value.head,
99 scalacOptions ++= Seq (" -deprecation" , " -feature" , " -Xfatal-warnings" ),
1010
@@ -21,8 +21,15 @@ inThisBuild(Def.settings(
2121
2222lazy val `scalajs-stubs` : Project = project.in(file(" ." ))
2323 .settings(
24- mimaPreviousArtifacts +=
25- organization.value %% moduleName.value % previousVersion,
24+ mimaPreviousArtifacts ++= {
25+ if (scalaBinaryVersion.value == " 3" ) Set .empty // new in this release
26+ else Set (organization.value %% moduleName.value % previousVersion)
27+ },
28+
29+ /* Do not fail mimaReportBinaryIssues when mimaPreviousArtifacts is empty.
30+ * We specifically set it to empty above when binary compat is irrelevant.
31+ */
32+ mimaFailOnNoPrevious := false ,
2633
2734 publishMavenStyle := true ,
2835 publishTo := {
0 commit comments