diff --git a/build.sbt b/build.sbt index f925072..e8c5766 100644 --- a/build.sbt +++ b/build.sbt @@ -15,6 +15,14 @@ val commonSettings = Def.settings( ) } }, + scalacOptions ++= { + scalaBinaryVersion.value match { + case "2.13" => + Seq("-Wconf:msg=constructor modifiers are assumed by synthetic:info") + case _ => + Nil + } + }, scalacOptions ++= Seq( "-deprecation", "-language:higherKinds", @@ -104,6 +112,14 @@ lazy val rules = projectMatrix .jvmPlatform(rulesCrossVersions) lazy val inputOutputCommon = Def.settings( + scalacOptions ++= { + scalaBinaryVersion.value match { + case "2.13" => + Seq("-Wconf:cat=scala3-migration:info") + case _ => + Nil + } + }, libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.11.0", libraryDependencies ++= { if (scalaBinaryVersion.value != "3") { diff --git a/project/plugins.sbt b/project/plugins.sbt index b56aad8..7c37d2f 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.0") +addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1") addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.9.1")