1
1
val previousVersion = " 1.0.0"
2
2
3
3
inThisBuild(Def .settings(
4
- version := " 1.0.1 -SNAPSHOT" ,
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
11
+ versionScheme := Some (" semver-spec" ),
12
+
11
13
homepage := Some (url(" https://www.scala-js.org/" )),
12
14
licenses += (" BSD New" ,
13
15
url(" https://github.com/scala-js/scala-js-stubs/blob/master/LICENSE" )),
@@ -19,8 +21,15 @@ inThisBuild(Def.settings(
19
21
20
22
lazy val `scalajs-stubs` : Project = project.in(file(" ." ))
21
23
.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 ,
24
33
25
34
publishMavenStyle := true ,
26
35
publishTo := {
0 commit comments