1- lazy val root = project.in(file(" ." ))
1+ lazy val root = project
2+ .in(file(" ." ))
23 .aggregate(scalaLibraryNextJVM, scalaLibraryNextJS)
34 .settings(
45 publish / skip := true ,
56 // With CrossType.Pure, the root project also picks up the sources in `src`
67 Compile / unmanagedSourceDirectories := Nil ,
7- Test / unmanagedSourceDirectories := Nil ,
8+ Test / unmanagedSourceDirectories := Nil ,
89 )
910
1011lazy val scalaLibraryNext = crossProject(JVMPlatform , JSPlatform )
1112 .crossType(CrossType .Pure )
1213 .in(file(" ." ))
1314 .jvmSettings(
14- libraryDependencies += " junit" % " junit" % " 4.13.1" % Test ,
15- libraryDependencies += " com.novocode" % " junit-interface" % " 0.11" % Test ,
15+ libraryDependencies += " junit" % " junit" % " 4.13.1" % Test ,
16+ libraryDependencies += " com.novocode" % " junit-interface" % " 0.11" % Test ,
1617 testOptions += Tests .Argument (TestFrameworks .JUnit , " -a" , " -v" ),
1718 )
1819 .jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin ))
@@ -21,11 +22,11 @@ lazy val scalaLibraryNext = crossProject(JVMPlatform, JSPlatform)
2122 scalaModuleMimaPreviousVersion := None ,
2223 scalacOptions ++= Seq (" -deprecation" , " -feature" , " -Werror" ),
2324 libraryDependencies ++= Seq (
24- " org.scalacheck" %%% " scalacheck" % " 1.15.0" % Test ,
25+ " org.scalacheck" %%% " scalacheck" % " 1.15.0" % Test
2526 ),
2627 )
2728 .jsSettings(
28- Test / fork := false ,
29+ Test / fork := false
2930 )
3031
3132lazy val scalaLibraryNextJVM = scalaLibraryNext.jvm
0 commit comments