Skip to content

Commit 8928f5e

Browse files
armanbilgerusswyte
authored andcommitted
Upgrade sbt and change the syntax
Co-authored-by: Russ White <[email protected]>
1 parent cf3c530 commit 8928f5e

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",
@@ -114,7 +114,7 @@ lazy val readme = ScalatexReadme(
114114
).settings(
115115
scalaVersion := "2.12.10",
116116
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings"),
117-
(resources in Compile) += (fullOptJS in (example, Compile)).value.data
117+
(Compile / resources) += (example / Compile / fullOptJS).value.data
118118
)
119119

120120
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)