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 77 // see https://github.com/scala/sbt-scala-module/issues/35
88 Seq (addSbtPlugin(" com.typesafe.sbt" % " sbt-osgi" % " 0.9.3" ))
99
10- addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.22" )
10+ addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.23" )
11+
12+ addSbtPlugin(" org.portable-scala" % " sbt-scalajs-crossproject" % " 0.4.0" )
You can’t perform that action at this time.
0 commit comments