Skip to content

Commit

Permalink
Merge pull request #1 from julienrf/scalajs
Browse files Browse the repository at this point in the history
Use CrossType.Pure
  • Loading branch information
TATSUNO Yasuhiro committed Jul 29, 2019
2 parents f200629 + cacb729 commit 68b9918
Show file tree
Hide file tree
Showing 34 changed files with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ import ScalaModulePlugin._

lazy val root = project.in(file("."))
.aggregate(`scala-collection-contribJS`, `scala-collection-contribJVM`)
.settings(disablePublishing)
.settings(
disablePublishing,
// HACK If we don’t add this dependency the tests compilation of the aggregated projects fails
libraryDependencies += "junit" % "junit" % "4.12" % Test
)

lazy val `scala-collection-contrib` = crossProject(JVMPlatform, JSPlatform)
lazy val `scala-collection-contrib` = crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Pure)
.withoutSuffixFor(JVMPlatform).in(file("."))
.settings(scalaModuleSettings: _*)
.settings(scalaModuleSettings)
.jvmSettings(scalaModuleSettingsJVM)
.settings(
name := "scala-collection-contrib",
Expand Down

0 comments on commit 68b9918

Please sign in to comment.