File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
lazy val root = project.in(file(" ." ))
2
+ .aggregate(`scala-library-next`.jvm, `scala-library-next`.js)
2
3
.settings(
3
- publish / skip := true
4
+ publish / skip := true ,
5
+ // With CrossType.Pure, the root project also picks up the sources in `src`
6
+ Compile / sources := Nil ,
7
+ Test / sources := Nil ,
4
8
)
5
9
6
10
lazy val `scala-library-next` = crossProject(JVMPlatform , JSPlatform )
@@ -9,6 +13,8 @@ lazy val `scala-library-next` = crossProject(JVMPlatform, JSPlatform)
9
13
.in(file(" ." ))
10
14
.jvmSettings(
11
15
libraryDependencies += " junit" % " junit" % " 4.13.1" % Test ,
16
+ libraryDependencies += " com.novocode" % " junit-interface" % " 0.11" % Test ,
17
+ testOptions += Tests .Argument (TestFrameworks .JUnit , " -a" , " -v" ),
12
18
)
13
19
.jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin ))
14
20
.settings(
You can’t perform that action at this time.
0 commit comments