From 209319e95052ce9c6e119bf4b214fe7f86b7edd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bendix=20S=C3=A4ltz?= Date: Mon, 3 Jun 2024 11:35:57 +0200 Subject: [PATCH] Remove crossbuild config --- build.sbt | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/build.sbt b/build.sbt index 0d63823..fcc55f7 100644 --- a/build.sbt +++ b/build.sbt @@ -67,32 +67,9 @@ lazy val commonSettings = Seq.concat( ) lazy val compilerSettings = Seq( - scalaVersion := crossScalaVersions.value.head, - crossScalaVersions := List("2.13.14", "2.13.14"), + scalaVersion := "2.13.14", Compile / packageBin / mappings += (ThisBuild / baseDirectory).value / "LICENSE" -> "LICENSE", - scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match { - case Some((2, 12)) => scalacOptions_2_12 - case Some((2, 13)) => scalacOptions_2_13 - case _ => Nil - }) -) - -lazy val scalacOptions_2_12 = Seq( - "-unchecked", - "-deprecation", - "-language:_", - "-release", - "8", - "-encoding", - "UTF-8", - "-Xfatal-warnings", - "-Ywarn-unused-import", - "-Yno-adapted-args", - "-Ywarn-dead-code", - "-Ywarn-inaccessible", - "-Ywarn-infer-any", - "-Ywarn-nullary-override", - "-Ywarn-nullary-unit" + scalacOptions ++= scalacOptions_2_13 ) lazy val scalacOptions_2_13 = Seq(