From 5451984c99edd0ed61111c280c299b51dccf442c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez?= <40717893+rafafrdz@users.noreply.github.com> Date: Tue, 13 Aug 2024 14:49:42 +0200 Subject: [PATCH] Revert "Cross Scala versions (#29)" (#35) --- project/Build.scala | 3 ++- project/Version.scala | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/project/Build.scala b/project/Build.scala index e957a1b..68c4864 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -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, @@ -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( diff --git a/project/Version.scala b/project/Version.scala index 57e0085..bdcc7f4 100644 --- a/project/Version.scala +++ b/project/Version.scala @@ -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") -}