Skip to content

Commit 68b9918

Browse files
author
TATSUNO Yasuhiro
authored
Merge pull request #1 from julienrf/scalajs
Use CrossType.Pure
2 parents f200629 + cacb729 commit 68b9918

34 files changed

+8
-3
lines changed

build.sbt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ import ScalaModulePlugin._
33

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

8-
lazy val `scala-collection-contrib` = crossProject(JVMPlatform, JSPlatform)
12+
lazy val `scala-collection-contrib` = crossProject(JVMPlatform, JSPlatform)
13+
.crossType(CrossType.Pure)
914
.withoutSuffixFor(JVMPlatform).in(file("."))
10-
.settings(scalaModuleSettings: _*)
15+
.settings(scalaModuleSettings)
1116
.jvmSettings(scalaModuleSettingsJVM)
1217
.settings(
1318
name := "scala-collection-contrib",

0 commit comments

Comments
 (0)