diff options
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -26,7 +26,7 @@ def scalacOptionsVersion(scalaVersion: String): Seq[String] = { // switch to support our anonymous Bundle definitions: // https://github.com/scala/bug/issues/10047 CrossVersion.partialVersion(scalaVersion) match { - case Some((2, scalaMajor: Int)) if scalaMajor < 12 => Seq() + case Some((2, scalaMajor: Long)) if scalaMajor < 12 => Seq() case _ => Seq("-Xsource:2.11") } } @@ -40,7 +40,7 @@ def javacOptionsVersion(scalaVersion: String): Seq[String] = { // Java 7 compatible code until we need Java 8 features // for compatibility with old clients. CrossVersion.partialVersion(scalaVersion) match { - case Some((2, scalaMajor: Int)) if scalaMajor < 12 => + case Some((2, scalaMajor: Long)) if scalaMajor < 12 => Seq("-source", "1.7", "-target", "1.7") case _ => Seq("-source", "1.8", "-target", "1.8") @@ -74,7 +74,7 @@ assemblyOutputPath in assembly := file("./utils/bin/firrtl.jar") // ANTLRv4 -antlr4Settings +enablePlugins(Antlr4Plugin) antlr4GenVisitor in Antlr4 := true // default = false |
