@@ -5,12 +5,10 @@ val V = new {
55 val paradise = " 2.1.1"
66 val scala2_11 = " 2.11.11-bin-typelevel-4"
77 val scala2_12 = " 2.12.4-bin-typelevel-4"
8- val scala2_13 = " 2.13.1"
9- val scalaTest = " 3.0.8"
10- val scalaTestNative = " 3.2.0-SNAP10"
11- val scalaCheck = " 1.14.0"
12- val scalaCheckNative = " 1.14.1"
13- val scalaJsDom = " 0.9.7"
8+ val scala2_13 = " 2.13.3"
9+ val scalaTest = " 3.2.2"
10+ val scalaCheck = " 1.14.3"
11+ val scalaJsDom = " 1.1.0"
1412}
1513
1614ThisBuild / scalaVersion := V .scala2_13
@@ -25,6 +23,9 @@ val commonSettings = nocomma {
2523 libraryDependencies ++= Seq (
2624 scalaOrganization.value % " scala-reflect" % scalaVersion.value % " provided" ,
2725 scalaOrganization.value % " scala-compiler" % scalaVersion.value % " provided" ,
26+
27+ " org.scalatest" %%% " scalatest" % V .scalaTest % " test" ,
28+ " org.scalacheck" %%% " scalacheck" % V .scalaCheck % " test"
2829 )
2930
3031 scalacOptions ++= Seq (
@@ -44,7 +45,6 @@ val commonSettings = nocomma {
4445 " -Xlint:inaccessible" , // Warn about inaccessible types in method signatures.
4546 " -Xlint:infer-any" , // Warn when a type argument is inferred to be `Any`.
4647 " -Xlint:missing-interpolator" , // A string literal appears to be missing an interpolator id.
47- " -Xlint:nullary-override" , // Warn when non-nullary `def f()' overrides nullary `def f'.
4848 " -Xlint:nullary-unit" , // Warn when nullary methods return Unit.
4949 " -Xlint:option-implicit" , // Option.apply used implicit view.
5050 " -Xlint:package-object-classes" , // Class or object defined in package object.
@@ -59,7 +59,7 @@ val commonSettings = nocomma {
5959
6060val Pre13Settings = nocomma {
6161 scalaOrganization := " org.typelevel"
62-
62+
6363 scalacOptions ++= Seq (
6464 " -Xfuture" , // Turn on future language features.
6565 " -Xlint:by-name-right-associative" , // By-name parameter of right associative operator.
@@ -72,7 +72,7 @@ val Pre13Settings = nocomma {
7272 " -Ywarn-nullary-override" , // Warn when non-nullary `def f()' overrides nullary `def f'.
7373 " -Ywarn-nullary-unit" , // Warn when nullary methods return Unit.
7474 )
75-
75+
7676 addCompilerPlugin(" org.scalamacros" %% " paradise" % V .paradise cross CrossVersion .patch)
7777}
7878
@@ -98,18 +98,11 @@ val Scala13Settings = Post11Settings ++ nocomma {
9898 scalacOptions += " -Ymacro-annotations"
9999}
100100
101- val JvmSettings = nocomma {
102- libraryDependencies ++= Seq (
103- " org.scalatest" %% " scalatest" % V .scalaTest % " test" ,
104- " org.scalacheck" %% " scalacheck" % V .scalaCheck % " test" ,
105- )
106- }
101+ val JvmSettings = Seq ()
107102
108103val JsSettings = nocomma {
109104 libraryDependencies ++= Seq (
110- " org.scalatest" %%% " scalatest" % V .scalaTest % " test" ,
111- " org.scalacheck" %%% " scalacheck" % V .scalaCheck % " test" ,
112- " org.scala-js" %%% " scalajs-dom" % V .scalaJsDom,
105+ " org.scala-js" %%% " scalajs-dom" % V .scalaJsDom
113106 )
114107
115108 // We need to remove and re-add this if working under the typelevel compiler
@@ -123,11 +116,6 @@ val JsSettings = nocomma {
123116}
124117
125118val NativeSettings = nocomma {
126- libraryDependencies ++= Seq (
127- " org.scalatest" %%% " scalatest" % V .scalaTestNative % " test" ,
128- " com.github.lolgab" %%% " scalacheck" % V .scalaCheckNative % " test"
129- )
130-
131119 libraryDependencies ~= (_.filterNot(_.name == " nscplugin" ))
132120 addCompilerPlugin(" org.scala-native" % " nscplugin" % nativeVersion cross CrossVersion .patch)
133121
@@ -145,7 +133,6 @@ lazy val pine = (projectMatrix in file("."))
145133 .jvmPlatform( Seq (V .scala2_11), JvmSettings ++ Scala11Settings )
146134 .jsPlatform( Seq (V .scala2_13), JsSettings ++ Scala13Settings )
147135 .jsPlatform( Seq (V .scala2_12), JsSettings ++ Scala12Settings )
148- .jsPlatform( Seq (V .scala2_11), JsSettings ++ Scala11Settings )
149136 .nativePlatform( Seq (V .scala2_11), NativeSettings ++ Pre13Settings )
150137
151138// root settings. src/ is handled by sbt-projectmatrix
0 commit comments