Skip to content

Commit 8e244d3

Browse files
sjrdmichelou
authored andcommitted
Fix scala#11709: Do not depend on non-boostrapped Scala.js library.
1 parent 585b943 commit 8e244d3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

project/Build.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ abstract class DottyJSPlugin(settings: Seq[Setting[_]]) extends AutoPlugin {
5454
_.filter(!_.name.startsWith("scala3-library_sjs1"))
5555
},
5656

57+
/* #11709 Remove the dependency on scala3-library that ScalaJSPlugin adds.
58+
* Instead, in this build, we use `.dependsOn` relationships to depend on
59+
* the appropriate, locally-defined, scala3-library-bootstrappedJS.
60+
*/
61+
libraryDependencies ~= {
62+
_.filter(!_.name.startsWith("scala3-library_sjs1"))
63+
},
64+
5765
// Replace the JVM JUnit dependency by the Scala.js one
5866
libraryDependencies ~= {
5967
_.filter(!_.name.startsWith("junit-interface"))

0 commit comments

Comments
 (0)