Skip to content

Commit 897fc39

Browse files
committed
Upgrade sbt and change the syntax
Co-authored by: Russ White <[email protected]>
1 parent 22e4a70 commit 897fc39

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.sbt

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ lazy val root = project.in(file(".")).
55

66
name := "Scala.js DOM"
77

8-
crossScalaVersions in ThisBuild := {
8+
ThisBuild / crossScalaVersions := {
99
if (scalaJSVersion.startsWith("1.")) Seq("2.12.10", "2.11.12", "2.13.1")
1010
else Seq("2.12.10", "2.11.12", "2.10.7", "2.13.1")
1111
}
12-
scalaVersion in ThisBuild := crossScalaVersions.value.head
12+
ThisBuild / scalaVersion := crossScalaVersions.value.head
1313

1414
val commonSettings = Seq(
1515
version := "1.2.0-SNAPSHOT",
@@ -104,7 +104,7 @@ lazy val readme = ScalatexReadme(
104104
).settings(
105105
scalaVersion := "2.12.10",
106106
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings"),
107-
(resources in Compile) += (fullOptJS in (example, Compile)).value.data
107+
(Compile / resources) += (example / Compile / fullOptJS).value.data
108108
)
109109

110110
lazy val example = project.

project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.2.8
1+
sbt.version=1.5.5

0 commit comments

Comments
 (0)