File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11import ScalaModulePlugin ._
2+ import sbtcrossproject .crossProject
23
34scalaVersionsByJvm in ThisBuild := {
45 val v211 = " 2.11.12"
@@ -15,7 +16,7 @@ lazy val root = project.in(file("."))
1516 .aggregate(xmlJS, xmlJVM)
1617 .settings(disablePublishing)
1718
18- lazy val xml = crossProject.in(file(" ." ))
19+ lazy val xml = crossProject( JSPlatform , JVMPlatform ) .in(file(" ." ))
1920 .settings(scalaModuleSettings)
2021 .jvmSettings(scalaModuleSettingsJVM)
2122 .settings(
Original file line number Diff line number Diff line change 11addSbtPlugin(" org.scala-lang.modules" % " sbt-scala-module" % " 1.0.14" )
22
3- addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.22" )
3+ addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.23" )
4+
5+ addSbtPlugin(" org.portable-scala" % " sbt-scalajs-crossproject" % " 0.4.0" )
You can’t perform that action at this time.
0 commit comments