Skip to content

Commit

Permalink
scalafix/scalameta now requires newer scala versions
Browse files Browse the repository at this point in the history
semanticdb-scalac is now only published for the 4 latest patch releases
for each minor scala version, see
scalameta/scalameta#3250
  • Loading branch information
bjaglin committed Sep 10, 2023
1 parent 28a5665 commit f2d989b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import sbt._

object Dependencies {
val x = List(1) // scalafix:ok
def scalafixVersion: String = "0.11.0+118-1b88e1f8-SNAPSHOT"
def scalafixVersion: String = "0.11.0+132-89b843d2-SNAPSHOT"

val all = List(
"org.eclipse.jgit" % "org.eclipse.jgit" % "5.13.2.202306221912-r",
Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/sbt-1.5/testkit/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ lazy val scala3Version = "3.0.0"

inThisBuild(
List(
scalaVersion := V.scala212, // don't let tests project fall back to sbt's old default
semanticdbEnabled := true,
semanticdbVersion := scalafixSemanticdb.revision,
// need for sbt <1.7.0 as includePluginResolvers has no effect, see https://github.com/sbt/sbt/pull/6853
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-scalafix/basic/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
inThisBuild(
List(
scalaVersion := "2.12.14",
scalaVersion := "2.12.18",
libraryDependencies ++= List(
"org.scalameta" %% "testkit" % "4.3.10" % Test,
"org.scalameta" %% "munit" % "0.7.9" % Test,
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-scalafix/inconfig/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
inThisBuild(
List(
scalaVersion := "2.12.14",
scalaVersion := "2.12.18",
libraryDependencies ++= List(
"org.scalameta" %% "testkit" % "4.3.10" % Test,
"org.scalameta" %% "munit" % "0.7.9" % Test,
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-scalafix/root-validation/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
inThisBuild(
List(
scalaVersion := "2.12.14"
scalaVersion := "2.12.18"
)
)

Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-scalafix/semanticdb-enabled/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
inThisBuild(
List(
scalaVersion := "2.12.14",
scalaVersion := "2.12.18",
semanticdbEnabled := true,
semanticdbVersion := scalafixSemanticdb.revision
)
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/skip-java17/scalafixResolvers/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
scalaVersion := "2.12.7"
scalaVersion := "2.12.18"

TaskKey[Unit]("check") := {
val expectedRepositories: Seq[String] = Seq(
Expand Down

0 comments on commit f2d989b

Please sign in to comment.