11val previousVersion = " 1.0.0"
22
33inThisBuild(Def .settings(
4- version := " 1.0.1 -SNAPSHOT" ,
4+ 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
11+ versionScheme := Some (" semver-spec" ),
12+
1113 homepage := Some (url(" https://www.scala-js.org/" )),
1214 licenses += (" BSD New" ,
1315 url(" https://github.com/scala-js/scala-js-stubs/blob/master/LICENSE" )),
@@ -19,8 +21,15 @@ inThisBuild(Def.settings(
1921
2022lazy val `scalajs-stubs` : Project = project.in(file(" ." ))
2123 .settings(
22- mimaPreviousArtifacts +=
23- 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 ,
2433
2534 publishMavenStyle := true ,
2635 publishTo := {
0 commit comments