We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b801ad commit 369c153Copy full SHA for 369c153
project/Common.scala
@@ -24,7 +24,6 @@ object Common extends AutoPlugin {
24
25
if (ver == "2.12") {
26
Seq(
27
- "-Xmax-classfile-name", "128",
28
"-Ywarn-numeric-widen",
29
"-Ywarn-infer-any",
30
"-Ywarn-dead-code",
@@ -36,7 +35,12 @@ object Common extends AutoPlugin {
36
35
"-Ywarn-nullary-override",
37
"-Ywarn-nullary-unit",
38
"-Ywarn-extra-implicit")
39
- } else if (ver != "2.13") {
+ } else {
+ Seq.empty
40
+ }
41
+ },
42
+ scalacOptions in (Compile, compile) ++= {
43
+ if (scalaBinaryVersion.value != "2.13") {
44
Seq("-Xmax-classfile-name", "128")
45
} else {
46
Seq.empty
0 commit comments