Adding support for Scala 2.13

Mostly import changes
Some formatting changes
Runs +test
This commit is contained in:
chick
2021-08-16 10:15:07 -07:00
parent b2cee7ccb8
commit ae01e170db
6 changed files with 26 additions and 22 deletions

View File

@@ -8,8 +8,9 @@ val defaultVersions = Map(
lazy val commonSettings = Seq(
organization := "edu.berkeley.cs",
version := "0.4-SNAPSHOT",
scalaVersion := "2.12.10",
scalacOptions := Seq("-deprecation", "-feature", "-language:reflectiveCalls", "-Xsource:2.11"),
scalaVersion := "2.12.13",
crossScalaVersions := Seq("2.12.13", "2.13.6"),
scalacOptions := Seq("-deprecation", "-feature", "-language:reflectiveCalls"),
libraryDependencies ++= Seq("chisel3","chisel-iotesters").map {
dep: String => "edu.berkeley.cs" %% dep % sys.props.getOrElse(dep + "Version", defaultVersions(dep))
},