@@ -4,7 +4,7 @@ inThisBuild(Def.settings(
4
4
version := " 1.1.0-SNAPSHOT" ,
5
5
organization := " org.scala-js" ,
6
6
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 " ),
8
8
scalaVersion := crossScalaVersions.value.head,
9
9
scalacOptions ++= Seq (" -deprecation" , " -feature" , " -Xfatal-warnings" ),
10
10
@@ -21,8 +21,15 @@ inThisBuild(Def.settings(
21
21
22
22
lazy val `scalajs-stubs` : Project = project.in(file(" ." ))
23
23
.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 ,
26
33
27
34
publishMavenStyle := true ,
28
35
publishTo := {
0 commit comments