1
- lazy val root = project.in(file(" ." ))
1
+ lazy val root = project
2
+ .in(file(" ." ))
2
3
.aggregate(scalaLibraryNextJVM, scalaLibraryNextJS)
3
4
.settings(
4
5
publish / skip := true ,
5
6
// With CrossType.Pure, the root project also picks up the sources in `src`
6
7
Compile / unmanagedSourceDirectories := Nil ,
7
- Test / unmanagedSourceDirectories := Nil ,
8
+ Test / unmanagedSourceDirectories := Nil ,
8
9
)
9
10
10
11
lazy val scalaLibraryNext = crossProject(JVMPlatform , JSPlatform )
11
12
.crossType(CrossType .Pure )
12
13
.in(file(" ." ))
13
14
.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 ,
16
17
testOptions += Tests .Argument (TestFrameworks .JUnit , " -a" , " -v" ),
17
18
)
18
19
.jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin ))
@@ -21,11 +22,11 @@ lazy val scalaLibraryNext = crossProject(JVMPlatform, JSPlatform)
21
22
scalaModuleMimaPreviousVersion := None ,
22
23
scalacOptions ++= Seq (" -deprecation" , " -feature" , " -Werror" ),
23
24
libraryDependencies ++= Seq (
24
- " org.scalacheck" %%% " scalacheck" % " 1.15.0" % Test ,
25
+ " org.scalacheck" %%% " scalacheck" % " 1.15.0" % Test
25
26
),
26
27
)
27
28
.jsSettings(
28
- Test / fork := false ,
29
+ Test / fork := false
29
30
)
30
31
31
32
lazy val scalaLibraryNextJVM = scalaLibraryNext.jvm
0 commit comments