Skip to content

Commit

Permalink
Make warnings fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
thyandrecardoso committed May 1, 2024
1 parent ab4803b commit 192fed2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name := "uap-scala"
organization := "org.uaparser"

scalacOptions ++= Seq(
"-Xfatal-warnings",
"-deprecation",
"-encoding", "UTF-8",
"-feature",
Expand All @@ -13,7 +14,7 @@ scalacOptions ++= Seq(
val scala2Flags = Seq(
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Xfuture"
"-Ywarn-unused:imports"
)

scalacOptions := {
Expand Down

0 comments on commit 192fed2

Please sign in to comment.