Skip to content

Commit

Permalink
Use provided scalaJSVersion and nativeVersion (#413)
Browse files Browse the repository at this point in the history
Scala.js and Scala Native Sbt plugins already provide the versions for
the Sbt build to consume.
  • Loading branch information
lolgab authored Sep 10, 2021
1 parent 9bb8b43 commit 3398a0b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import com.typesafe.tools.mima.core.MissingTypesProblem
import sbtcrossproject.CrossPlugin.autoImport.crossProject
import sbtcrossproject.CrossPlugin.autoImport.CrossType
import scala.collection.mutable
val scalaJSVersion = "1.6.0"
val scalaNativeVersion = "0.4.0"
def previousVersion = "0.7.0"
def scala213 = "2.13.6"
def scala212 = "2.12.14"
Expand Down Expand Up @@ -185,7 +183,7 @@ lazy val munit = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.nativeSettings(
sharedNativeSettings,
libraryDependencies ++= List(
"org.scala-native" %%% "test-interface" % scalaNativeVersion
"org.scala-native" %%% "test-interface" % nativeVersion
),
Compile / unmanagedSourceDirectories +=
(ThisBuild / baseDirectory).value / "munit" / "non-jvm" / "src" / "main"
Expand Down

0 comments on commit 3398a0b

Please sign in to comment.