diff --git a/project/build.properties b/project/build.properties index cc68b53..30b7fd9 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.10.11 +sbt.version=1.12.0 diff --git a/src/main/scala/gs/Gs.scala b/src/main/scala/gs/Gs.scala index 32e4fff..ce77ae0 100644 --- a/src/main/scala/gs/Gs.scala +++ b/src/main/scala/gs/Gs.scala @@ -14,8 +14,8 @@ object Gs { "-explain", // Explain errors in more detail. "-unchecked", // Enable additional warnings where generated code depends on assumptions. "-explain-types", // Explain type errors in more detail. - "-Xfatal-warnings", // Fail the compilation if there are any warnings. "-language:strictEquality", // Enable multiversal equality (require CanEqual) + "-Werror", // Fail the compilation if there are any warnings. "-Wunused:implicits", // Warn if an implicit parameter is unused. "-Wunused:explicits", // Warn if an explicit parameter is unused. "-Wunused:imports", // Warn if an import selector is not referenced.