diff options
| author | Kevin Laeufer | 2020-07-28 12:53:46 -0700 |
|---|---|---|
| committer | Kevin Laeufer | 2020-07-29 15:26:30 -0700 |
| commit | 990f79a7ddda80404eb575c43f89da8c06669bd9 (patch) | |
| tree | 8e4e47ebfde6f87965934394b27171eeefbfb53d | |
| parent | 9639af34a7e251aafdf4a280432e81123d646313 (diff) | |
[2.13] update scalafix and reenable scalafixSemanticdb
0.9.16+ fixes https://github.com/scalacenter/scalafix/issues/1109
-Ywarn-unused-imports seems to be no longer supported by 2.13:
https://github.com/scala/scala/releases/tag/v2.13.0
| -rw-r--r-- | build.sbt | 2 | ||||
| -rw-r--r-- | project/plugins.sbt | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -23,12 +23,14 @@ lazy val commonSettings = Seq( version := "1.4-SNAPSHOT", scalaVersion := "2.12.11", crossScalaVersions := Seq("2.13.2", "2.12.11", "2.11.12"), + addCompilerPlugin(scalafixSemanticdb), scalacOptions := Seq( "-deprecation", "-unchecked", "-language:reflectiveCalls", "-language:existentials", "-language:implicitConversions", + "-Yrangepos", // required by SemanticDB compiler plugin ), javacOptions ++= javacOptionsVersion(scalaVersion.value), libraryDependencies ++= Seq( diff --git a/project/plugins.sbt b/project/plugins.sbt index 357bfa67..d5fb4af3 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -18,7 +18,7 @@ addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.8.2") addSbtPlugin("com.github.gseitz" % "sbt-protobuf" % "0.6.5") -addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.15") +addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.19") addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.0") |
