File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 11name := " reactify"
22organization in ThisBuild := " com.outr"
3- version in ThisBuild := " 2.0.5 "
3+ version in ThisBuild := " 2.0.6 "
44scalaVersion in ThisBuild := " 2.12.2"
55crossScalaVersions in ThisBuild := List (" 2.12.2" , " 2.11.11" , " 2.13.0-M1" )
66
7- import sbtcrossproject .crossProject
7+ lazy val root = project.in(file(" ." ))
8+ .aggregate(js, jvm)
9+ .settings(
10+ publish := {},
11+ publishLocal := {}
12+ )
813
9- lazy val reactify = crossProject( JSPlatform , JVMPlatform ) .in(file(" ." ))
14+ lazy val reactify = crossProject.in(file(" ." ))
1015 .settings(
1116 libraryDependencies += " org.scalatest" %%% " scalatest" % " 3.0.3" % " test"
1217 )
13-
1418lazy val js = reactify.js
1519lazy val jvm = reactify.jvm
Original file line number Diff line number Diff line change 11resolvers += " Artima Maven Repository" at " http://repo.artima.com/releases"
22resolvers += " Typesafe Repository" at " https://repo.typesafe.com/typesafe/releases/"
33
4- val scalaJSVersion = Option (System .getenv(" SCALAJS_VERSION" )).getOrElse(" 0.6.18" )
5-
64addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 1.1" )
75addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.0.1" )
8- addSbtPlugin(" org.scala-js" % " sbt-scalajs" % scalaJSVersion )
6+ addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.18 " )
97addSbtPlugin(" org.scoverage" % " sbt-scoverage" % " 1.5.0" )
10- addSbtPlugin(" com.codacy" % " sbt-codacy-coverage" % " 1.3.8" )
11-
12- {
13- if (scalaJSVersion.startsWith(" 0.6." ))
14- Seq (addSbtPlugin(" org.scala-native" % " sbt-scalajs-crossproject" % " 0.2.0" ))
15- else
16- Nil
17- }
8+ addSbtPlugin(" com.codacy" % " sbt-codacy-coverage" % " 1.3.8" )
You can’t perform that action at this time.
0 commit comments