@@ -9,6 +9,7 @@ addCommandAlias(
9
9
" ci-test" ,
10
10
" ;scalafmtCheckAll; scalafmtSbtCheck; +test; +publishLocal; sbt-exercise/scripted"
11
11
)
12
+
12
13
addCommandAlias(" ci-docs" , " ;github; mdoc; headerCreateAll" )
13
14
addCommandAlias(" ci-publish" , " ;github; ci-release" )
14
15
@@ -51,9 +52,8 @@ lazy val compiler = (project in file("compiler"))
51
52
crossScalaVersions := Seq (V .scala, V .scala212),
52
53
scalacOptions -= " -Xfatal-warnings" ,
53
54
libraryDependencies ++= Seq (
54
- " org.scala-exercises" %% " runtime" % V .runtime,
55
+ " org.scala-exercises" %% " runtime" % V .runtime exclude ( " org.scala-lang.modules " , " scala-collection-compat " ) ,
55
56
" org.scala-lang" % " scala-compiler" % scalaVersion.value,
56
- " org.scala-lang" % " scala-reflect" % scalaVersion.value,
57
57
" org.scala-lang.modules" %% " scala-xml" % V .scalaXml,
58
58
" org.typelevel" %% " cats-core" % V .cats % Compile ,
59
59
" org.http4s" %% " http4s-blaze-client" % V .http4s,
@@ -66,7 +66,9 @@ lazy val compiler = (project in file("compiler"))
66
66
" org.typelevel" %% " cats-effect-kernel" % V .catsEffect,
67
67
" org.scalatest" %% " scalatest-core" % V .scalatest % Test ,
68
68
" org.scalatest" %% " scalatest" % V .scalatest % Test
69
- ),
69
+ ) ++ (if (scalaVersion.value == V .scala)
70
+ Seq (" org.scala-lang" % " scala-reflect" % scalaVersion.value)
71
+ else Seq .empty),
70
72
dependencyOverrides += " org.scala-lang.modules" %% " scala-xml" % " 2.0.1" ,
71
73
unusedCompileDependenciesFilter -= moduleFilter(" org.scala-lang" , " scala-compiler" )
72
74
)
0 commit comments