Build Update
This commit is contained in:
parent
6a25431e7d
commit
b880ec1188
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue