Skip to content

Commit

Permalink
Revert "Cross Scala versions (#29)" (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafafrdz authored Aug 13, 2024
1 parent d900d6d commit 5451984
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object Build extends AutoPlugin {
ThisBuild / organization := "io.github.rafafrdz",
ThisBuild / name := "criteria-dsl",
ThisBuild / scalaVersion := Version.Scala,
ThisBuild / crossScalaVersions := Vector(ScalaCross.ScalaVersions: _*),
ThisBuild / crossScalaVersions := Vector(scalaVersion.value),
ThisBuild / javacOptions := Seq("-g:none"),
ThisBuild / run / javaOptions ++= localJvmSettings,
ThisBuild / run / fork := true,
Expand Down Expand Up @@ -78,6 +78,7 @@ object Build extends AutoPlugin {
"-Ywarn-unused:patvars", // Warn if a variable bound in a pattern is unused.
"-Ywarn-unused:privates", // Warn if a private member is unused.
"-Ywarn-macros:after",
"-Ymacro-annotations"
),
// note that the REPL can’t really cope with -Ywarn-unused:imports or -Xfatal-warnings so you should turn them off for the console
Compile / console / scalacOptions ~= (_.filterNot(
Expand Down
4 changes: 0 additions & 4 deletions project/Version.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
object Version {
lazy val Scala: String = "2.13.12"
}

object ScalaCross {
lazy val ScalaVersions: List[String] = List(Version.Scala, "2.12.19")
}

0 comments on commit 5451984

Please sign in to comment.