Build Update

This commit is contained in:
waleed-lm 2021-01-11 14:38:55 +05:00
parent 6a25431e7d
commit b880ec1188
1 changed files with 0 additions and 2 deletions

View File

@ -3,8 +3,6 @@
def scalacOptionsVersion(scalaVersion: String): Seq[String] = { def scalacOptionsVersion(scalaVersion: String): Seq[String] = {
Seq() ++ { Seq() ++ {
// If we're building with Scala > 2.11, enable the compile option // If we're building with Scala > 2.11, enable the compile option
// switch to support our anonymous Bundle definitions:
// https://github.com/scala/bug/issues/10047
CrossVersion.partialVersion(scalaVersion) match { CrossVersion.partialVersion(scalaVersion) match {
case Some((2, scalaMajor: Long)) if scalaMajor < 12 => Seq() case Some((2, scalaMajor: Long)) if scalaMajor < 12 => Seq()
case _ => Seq("-Xsource:2.11") case _ => Seq("-Xsource:2.11")