@@ -11,7 +11,11 @@ import com.typesafe.sbt.SbtPgp.autoImport._
11
11
import org .scalajs .sbtplugin .ScalaJSPlugin
12
12
import org .scalajs .sbtplugin .ScalaJSPlugin .autoImport .{scalaJSLinkerConfig , jsEnv }
13
13
14
- import sbtcrossproject .CrossPlugin .autoImport ._
14
+ // import sbtcrossproject.CrossPlugin.autoImport._
15
+ import org .portablescala .sbtplatformdeps .PlatformDepsPlugin .autoImport ._
16
+ import sbtcrossproject .CrossPlugin .autoImport .{crossProject , CrossType , _ }
17
+ import scalajscrossproject .ScalaJSCrossPlugin .autoImport ._
18
+ import scalanativecrossproject .ScalaNativeCrossPlugin .autoImport ._
15
19
16
20
import scalanative .sbtplugin .ScalaNativePlugin
17
21
import scalanative .sbtplugin .ScalaNativePluginInternal .NativeTest
@@ -1148,7 +1152,7 @@ object ScalatestBuild {
1148
1152
initialCommands in console := """ |import org.scalatest._
1149
1153
|import org.scalactic._
1150
1154
|import Matchers._""" .stripMargin,
1151
- libraryDependencies += " org.scala-native" %% " test-interface_native0.4.0-M2 " % " 0.4.0-M2" ,
1155
+ libraryDependencies += " org.scala-native" %%% " test-interface " % " 0.4.0-M2" ,
1152
1156
// jsDependencies += RuntimeDOM % "test",
1153
1157
sourceGenerators in Compile += {
1154
1158
Def .task {
@@ -1444,7 +1448,7 @@ object ScalatestBuild {
1444
1448
organization := " org.scalatest" ,
1445
1449
moduleName := " scalatest-app" ,
1446
1450
libraryDependencies ++= nativeCrossBuildLibraryDependencies.value,
1447
- libraryDependencies += " org.scala-native" %% " test-interface_native0.4.0-M2 " % " 0.4.0-M2" ,
1451
+ libraryDependencies += " org.scala-native" %%% " test-interface " % " 0.4.0-M2" ,
1448
1452
// include the scalactic classes and resources in the jar
1449
1453
mappings in (Compile , packageBin) ++= mappings.in(scalacticNative, Compile , packageBin).value,
1450
1454
// include the scalactic sources in the source jar
0 commit comments