File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,8 @@ import sbt._
22import sbt .Keys ._
33import sbtrelease .ReleasePlugin .autoImport ._
44import com .typesafe .sbt .pgp .PgpKeys
5- import org .scalajs .sbtplugin .ScalaJSPlugin .autoImport ._
6- import org .scalajs .sbtplugin .cross .CrossProject
7- import org .scalajs .sbtplugin .cross .CrossType
5+ import sbtcrossproject .CrossProject
6+ import sbtcrossproject .CrossType
87
98val Org = " org.scoverage"
109val MockitoVersion = " 2.19.0"
@@ -62,7 +61,8 @@ lazy val root = Project("scalac-scoverage", file("."))
6261 .settings(publishLocal := {})
6362 .aggregate(plugin, runtime.jvm, runtime.js)
6463
65- lazy val runtime = CrossProject (" scalac-scoverage-runtime" , file(" scalac-scoverage-runtime" ), CrossType .Full )
64+ lazy val runtime = CrossProject (" scalac-scoverage-runtime" , file(" scalac-scoverage-runtime" ))(JVMPlatform , JSPlatform )
65+ .crossType(CrossType .Full )
6666 .settings(name := " scalac-scoverage-runtime" )
6767 .settings(appSettings : _* )
6868 .jvmSettings(
Original file line number Diff line number Diff line change @@ -4,4 +4,6 @@ addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
44
55addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 1.0.7" )
66
7- addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.22" )
7+ addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.24" )
8+
9+ addSbtPlugin(" org.portable-scala" % " sbt-scalajs-crossproject" % " 0.5.0" )
You can’t perform that action at this time.
0 commit comments