Skip to content

Commit 06846ec

Browse files
Update/sbt scalafix 0.9.12 (#182)
* Update sbt-scalafix to 0.9.12 * fix: Compile warning after sbt-scalafix upgrade Co-authored-by: Scala Steward <[email protected]>
1 parent e4a4799 commit 06846ec

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

cassandra-datastax-driver/src/main/scala/com/avast/sst/datastax/DatastaxHelper.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package com.avast.sst.datastax
22

33
import com.datastax.oss.driver.api.core.config.{DriverOption, ProgrammaticDriverConfigLoaderBuilder => DriverBuilder}
44

5-
import scala.collection.JavaConverters._
65
import scala.concurrent.duration.Duration
6+
import scala.jdk.CollectionConverters._
77

88
/** Helper functions to construct Datastax session using Java builder. */
99
private[datastax] object DatastaxHelper {

project/BuildSettings.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ object BuildSettings {
1818
compilerPlugin(scalafixSemanticdb), // necessary for Scalafix
1919
Dependencies.silencerLib,
2020
Dependencies.catsEffect,
21+
Dependencies.scalaCollectionCompat,
2122
Dependencies.logbackClassic % Test,
2223
Dependencies.scalaTest % Test
2324
),

project/Dependencies.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ object Dependencies {
2525
val monixEval = "io.monix" %% "monix-eval" % Versions.monix
2626
val postgresql = "org.postgresql" % "postgresql" % "42.2.11"
2727
val pureConfig = "com.github.pureconfig" %% "pureconfig" % "0.12.3"
28+
val scalaCollectionCompat = "org.scala-lang.modules" %% "scala-collection-compat" % "2.1.4"
2829
val scalafixScaluzzi = "com.github.vovapolu" %% "scaluzzi" % "0.1.3"
2930
val scalafixSortImports = "com.nequissimus" %% "sort-imports" % "0.3.2"
3031
val scalaTest = "org.scalatest" %% "scalatest" % "3.1.1"

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.11")
2-
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.11")
2+
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.12")
33
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.2")
44
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.2")
55
addSbtPlugin("com.47deg" % "sbt-microsites" % "1.1.3")

0 commit comments

Comments
 (0)