From 192fed2c100f67304f7e1b0f60acfe19ee6f66a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cardoso?= Date: Wed, 1 May 2024 17:27:16 +0100 Subject: [PATCH] Make warnings fatal --- build.sbt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index e4f75ad..38b4c8c 100644 --- a/build.sbt +++ b/build.sbt @@ -4,6 +4,7 @@ name := "uap-scala" organization := "org.uaparser" scalacOptions ++= Seq( + "-Xfatal-warnings", "-deprecation", "-encoding", "UTF-8", "-feature", @@ -13,7 +14,7 @@ scalacOptions ++= Seq( val scala2Flags = Seq( "-Ywarn-dead-code", "-Ywarn-numeric-widen", - "-Xfuture" + "-Ywarn-unused:imports" ) scalacOptions := {