We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 496415b commit 3c9357bCopy full SHA for 3c9357b
build.sbt
@@ -2,7 +2,24 @@ name := "Slacken"
2
3
version := "2.0.0"
4
5
-scalaVersion := "2.12.20"
+lazy val scala212 = "2.12.20"
6
+
7
+lazy val scala213 = "2.13.15"
8
9
+lazy val supportedScalaVersions = List(scala212, scala213)
10
11
+ThisBuild / scalaVersion := scala212
12
13
+lazy val root = (project in file(".")).
14
+ settings(
15
+ crossScalaVersions := supportedScalaVersions,
16
+ libraryDependencies ++= {
17
+ CrossVersion.partialVersion(scalaVersion.value) match {
18
+ case Some((2, 13)) => List("org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.0")
19
+ case _ => Nil
20
+ }
21
22
+ )
23
24
val sparkVersion = "3.5.0"
25
0 commit comments