@@ -6,24 +6,15 @@ lazy val root = project.in(file(".")).
6
6
name := " Scala.js DOM"
7
7
8
8
crossScalaVersions in ThisBuild := {
9
- if (scalaJSVersion.startsWith(" 1." )) Seq (" 2.12.8" , " 2.11.12" , " 2.13.0-RC1 " )
10
- else Seq (" 2.12.8" , " 2.11.12" , " 2.10.7" , " 2.13.0-RC1 " )
9
+ if (scalaJSVersion.startsWith(" 1." )) Seq (" 2.12.8" , " 2.11.12" , " 2.13.0" )
10
+ else Seq (" 2.12.8" , " 2.11.12" , " 2.10.7" , " 2.13.0" )
11
11
}
12
12
scalaVersion in ThisBuild := crossScalaVersions.value.head
13
13
14
14
val commonSettings = Seq (
15
15
version := " 0.9.8-SNAPSHOT" ,
16
16
organization := " org.scala-js" ,
17
- scalacOptions ++= Seq (" -deprecation" , " -feature" , " -Xfatal-warnings" ),
18
-
19
- // Work around https://github.com/scala-js/scala-js/issues/3612
20
- scalacOptions in (Compile , doc) := {
21
- val prev = (scalacOptions in (Compile , doc)).value
22
- if (scalaJSVersion.startsWith(" 0.6." ) && scalaVersion.value.startsWith(" 2.13." ))
23
- prev.filter(_ != " -Xfatal-warnings" )
24
- else
25
- prev
26
- }
17
+ scalacOptions ++= Seq (" -deprecation" , " -feature" , " -Xfatal-warnings" )
27
18
)
28
19
29
20
normalizedName := " scalajs-dom"
0 commit comments