Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sbt-scalafix to 0.12.0 #355

Merged
merged 5 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading