Use scalafix to update scala 2.13.3, silencer 1.7.0 (#29367)
This commit is contained in:
parent
388fb73beb
commit
9416dedad7
58 changed files with 131 additions and 115 deletions
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
package akka
|
||||
|
||||
import sbt.{AutoPlugin, PluginTrigger, Plugins, ScalafixSupport}
|
||||
import sbt.{ AutoPlugin, PluginTrigger, Plugins, ScalafixSupport }
|
||||
import scalafix.sbt.ScalafixPlugin
|
||||
|
||||
object ScalaFixExtraRulesPlugin extends AutoPlugin with ScalafixSupport{
|
||||
object ScalaFixExtraRulesPlugin extends AutoPlugin with ScalafixSupport {
|
||||
override def trigger: PluginTrigger = allRequirements
|
||||
|
||||
override def requires: Plugins = ScalafixPlugin
|
||||
|
|
@ -15,6 +15,10 @@ object ScalaFixExtraRulesPlugin extends AutoPlugin with ScalafixSupport{
|
|||
import sbt._
|
||||
import scalafix.sbt.ScalafixPlugin.autoImport.scalafixDependencies
|
||||
override def projectSettings: Seq[Def.Setting[_]] = super.projectSettings ++ {
|
||||
scalafixDependencies in ThisBuild += "com.nequissimus" %% "sort-imports" % "0.5.5"
|
||||
scalafixDependencies in ThisBuild ++= Seq(
|
||||
"com.nequissimus" %% "sort-imports" % "0.5.5",
|
||||
// https://github.com/ohze/scala-rewrites
|
||||
// an extended version of https://github.com/scala/scala-rewrites
|
||||
"com.sandinh" %% "scala-rewrites" % "0.1.10-sd")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue