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.
-Xsource:3
1 parent 42da90d commit e3f9970Copy full SHA for e3f9970
sd/src/main/scala/com/sandinh/sbtsd/SdPlugin.scala
@@ -50,7 +50,8 @@ object SdPlugin extends AutoPlugin {
50
)
51
if ((major, minor) == (2, 11)) opts += "-Ybackend:GenBCode"
52
if (major == 2 && minor < 13) opts += "-target:jvm-1.8"
53
- if (major == 2) opts ++= Seq("-Xsource:3")
+ // scala 2.11.12 still not support -Xsource:3
54
+ if (major == 2 && minor > 11) opts += "-Xsource:3"
55
opts.result()
56
}
57
0 commit comments