Skip to content

Commit

Permalink
put scalacOptions in separate file
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantin Läufer <[email protected]>
  • Loading branch information
klaeufer committed Aug 28, 2023
1 parent c35e1fb commit f487618
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
7 changes: 7 additions & 0 deletions .scalacOptions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-deprecation
-feature
-unchecked
-Wvalue-discard
-language:strictEquality
-Yexplicit-nulls
-Ysafe-init
16 changes: 4 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

0 comments on commit f487618

Please sign in to comment.