Skip to content

Commit

Permalink
Merge pull request #2012 from vasilmkd/scalafixsyntax
Browse files Browse the repository at this point in the history
Fix deprecated sbt syntax in scalafix subproject
  • Loading branch information
djspiewak authored May 30, 2021
2 parents c76a39f + 7817ca4 commit 4dba25f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scalafix/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lazy val v3_0_0_input = project
.in(file("v3_0_0/input"))
.settings(
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-effect" % "2.3.3"
"org.typelevel" %% "cats-effect" % "2.5.1"
),
scalacOptions += "-P:semanticdb:synthetics:on"
)
Expand All @@ -24,22 +24,22 @@ lazy val v3_0_0_output = project
.in(file("v3_0_0/output"))
.settings(
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-effect" % "3.0.0-RC2"
"org.typelevel" %% "cats-effect" % "3.0.0"
)
)

lazy val v3_0_0_tests = project
.in(file("v3_0_0/tests"))
.settings(
libraryDependencies += "ch.epfl.scala" % "scalafix-testkit" % V.scalafixVersion % Test cross CrossVersion.full,
compile.in(Compile) :=
compile.in(Compile).dependsOn(compile.in(v3_0_0_input, Compile)).value,
Compile / compile :=
(Compile / compile).dependsOn(v3_0_0_input / Compile / compile).value,
scalafixTestkitOutputSourceDirectories :=
sourceDirectories.in(v3_0_0_output, Compile).value,
(v3_0_0_output / Compile / sourceDirectories).value,
scalafixTestkitInputSourceDirectories :=
sourceDirectories.in(v3_0_0_input, Compile).value,
(v3_0_0_input / Compile / sourceDirectories).value,
scalafixTestkitInputClasspath :=
fullClasspath.in(v3_0_0_input, Compile).value
(v3_0_0_input / Compile / fullClasspath).value
)
.dependsOn(v3_0_0_input, rules)
.enablePlugins(ScalafixTestkitPlugin)

0 comments on commit 4dba25f

Please sign in to comment.