Skip to content

Commit

Permalink
Update sbt-scalafix to 0.12.0 (#355)
Browse files Browse the repository at this point in the history
* Update sbt-scalafix to 0.12.0

* scalafix

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jules Ivanic <[email protected]>
  • Loading branch information
github-actions[bot] and guizmaii authored Mar 11, 2024
1 parent dd22094 commit e42315f
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.15")

// Linting Plugins
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.0")
addSbtPlugin("com.github.cb372" % "sbt-explicit-dependencies" % "0.3.1")

// Versioning and Release Plugins
Expand Down
2 changes: 1 addition & 1 deletion zio-sbt-ecosystem/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.15")

// Linting Plugins
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.0")
addSbtPlugin("com.github.cb372" % "sbt-explicit-dependencies" % "0.3.1")

// Versioning and Release Plugins
Expand Down
4 changes: 2 additions & 2 deletions zio-sbt-ecosystem/src/main/scala/zio/sbt/Commands.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ package zio.sbt

import scala.collection.immutable.ListMap

import sbt.Keys.*
import sbt.*
import sbt.Keys._
import sbt._

object Commands {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@

package zio.sbt

import explicitdeps.ExplicitDepsPlugin.autoImport.*
import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport.*
import sbt.Keys.*
import sbt.{Def, *}
import explicitdeps.ExplicitDepsPlugin.autoImport._
import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport._
import sbt.Keys._
import sbt.{Def, _}
import sbtbuildinfo.BuildInfoPlugin.autoImport.{BuildInfoKey, buildInfoKeys, buildInfoPackage}
import sbtcrossproject.CrossPlugin.autoImport.{JVMPlatform, crossProjectPlatform}
import scalafix.sbt.ScalafixPlugin.autoImport.{scalafixDependencies, scalafixScalaBinaryVersion, scalafixSemanticdb}

import zio.sbt.Versions.*
import zio.sbt.Versions._

trait ScalaCompilerSettings {

Expand Down
4 changes: 2 additions & 2 deletions zio-sbt-ecosystem/src/main/scala/zio/sbt/Tasks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ package zio.sbt

import scala.Console

import sbt.Keys.*
import sbt.*
import sbt.Keys._
import sbt._

object Tasks {
private val strictCompilationProp = "enable.strict.compilation"
Expand Down
2 changes: 1 addition & 1 deletion zio-sbt-ecosystem/src/main/scala/zio/sbt/Versions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package zio.sbt

import sbt.*
import sbt._

object Versions {
val KindProjectorVersion = "0.13.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ package zio.sbt

import scala.collection.immutable.ListMap

import com.jsuereth.sbtpgp.SbtPgp.autoImport.*
import com.jsuereth.sbtpgp.SbtPgp.autoImport._
import de.heikoseeberger.sbtheader.HeaderPlugin
import org.scalafmt.sbt.ScalafmtPlugin
import sbt.Keys.*
import sbt.Keys._
import sbt.nio.Keys.{ReloadOnSourceChanges, onChangedBuildSource}
import sbt.{Def, *}
import sbt.{Def, _}
import sbtbuildinfo.BuildInfoPlugin
import scalafix.sbt.ScalafixPlugin

Expand Down
8 changes: 4 additions & 4 deletions zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
package zio.sbt

import scala.collection.mutable
import scala.sys.process.*
import scala.sys.process._

import _root_.java.nio.file.{Files, Path, Paths}
import mdoc.MdocPlugin
import mdoc.MdocPlugin.autoImport.*
import sbt.Keys.*
import sbt.{Def, *}
import mdoc.MdocPlugin.autoImport._
import sbt.Keys._
import sbt.{Def, _}

import zio.sbt.WebsiteUtils.{readFile, removeYamlHeader}

Expand Down

0 comments on commit e42315f

Please sign in to comment.