Skip to content

Commit 1775371

Browse files
committed
Move -Xfatal-warnings to commonSettings
1 parent d00a55a commit 1775371

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

project/Build.scala

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ object Build {
121121
scalacOptions ++= Seq(
122122
"-feature",
123123
"-deprecation",
124+
"-unchecked",
125+
"-Xfatal-warnings",
124126
"-encoding", "UTF8",
125127
"-language:existentials,higherKinds,implicitConversions"
126128
),
@@ -574,11 +576,6 @@ object Build {
574576
// Add git-hash used to package the distribution to the manifest to know it in runtime and report it in REPL
575577
packageOptions += ManifestAttributes(("Git-Hash", VersionUtil.gitHash)),
576578

577-
scalacOptions ++= Seq(
578-
"-Xfatal-warnings",
579-
"-unchecked"
580-
),
581-
582579
// http://grokbase.com/t/gg/simple-build-tool/135ke5y90p/sbt-setting-jvm-boot-paramaters-for-scala
583580
// packageAll should always be run before tests
584581
javaOptions ++= {

0 commit comments

Comments
 (0)