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 2486012 commit c550ab4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 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
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ version := "0.4"

scalaVersion := "3.3.0"

scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-Yexplicit-nulls", "-Ysafe-init", "-language:strictEquality")
scalacOptions += "@.scalacOptions.txt"

libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.2.16" % Test,
"org.scalacheck" %% "scalacheck" % "1.17.0" % Test
"org.creativescala" %% "doodle" % "0.20.0",
"org.scalatest" %% "scalatest" % "3.2.16" % Test,
"org.scalacheck" %% "scalacheck" % "1.17.0" % Test
)

0 comments on commit c550ab4

Please sign in to comment.