From f4876181d60fc0e680379cb1708589aef5a1b4e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20L=C3=A4ufer?= Date: Mon, 28 Aug 2023 18:07:39 -0500 Subject: [PATCH] put scalacOptions in separate file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Konstantin Läufer --- .scalacOptions.txt | 7 +++++++ build.sbt | 16 ++++------------ 2 files changed, 11 insertions(+), 12 deletions(-) create mode 100644 .scalacOptions.txt diff --git a/.scalacOptions.txt b/.scalacOptions.txt new file mode 100644 index 0000000..57e917e --- /dev/null +++ b/.scalacOptions.txt @@ -0,0 +1,7 @@ +-deprecation +-feature +-unchecked +-Wvalue-discard +-language:strictEquality +-Yexplicit-nulls +-Ysafe-init diff --git a/build.sbt b/build.sbt index a3d6eb0..6fa36d5 100644 --- a/build.sbt +++ b/build.sbt @@ -4,18 +4,10 @@ version := "0.4" scalaVersion := "3.3.0" -scalacOptions ++= Seq( - "-deprecation", - "-feature", - "-unchecked", - "-Yexplicit-nulls", - "-Ysafe-init", - "-language:strictEquality", - "-language:higherKinds" -) +scalacOptions += "@.scalacOptions.txt" libraryDependencies ++= Seq( - "io.higherkindness" %% "droste-core" % "0.9.0", - "io.chrisdavenport" %% "cats-scalacheck" % "0.3.2" % Test, - "org.typelevel" %% "cats-laws" % "2.10.0" % Test + "io.higherkindness" %% "droste-core" % "0.9.0", + "io.chrisdavenport" %% "cats-scalacheck" % "0.3.2" % Test, + "org.typelevel" %% "cats-laws" % "2.10.0" % Test )