Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support Scala 3.1.0
Browse files Browse the repository at this point in the history
sullis committed Dec 18, 2021
1 parent 843a4d7 commit cb62600
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -5,10 +5,19 @@ organization := "org.gfccollective"

scalaVersion := "2.13.7"

crossScalaVersions := Seq(scalaVersion.value, "2.12.15")
crossScalaVersions := Seq(scalaVersion.value, "2.12.15", "3.1.0")

scalacOptions += "-target:jvm-1.8"

scalacOptions ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) =>
Seq("-source:3.0-migration", "-explain", "-explain-types")
case _ =>
Nil
}
}

javacOptions ++= Seq("-source", "1.8", "-target", "1.8")

libraryDependencies ++= Seq(

0 comments on commit cb62600

Please sign in to comment.