Skip to content

Commit 1043ccd

Browse files
authored
Update Finagle to 22.12.0
Update Finagle to 22.12.0
2 parents 78cd0ec + bd016c0 commit 1043ccd

File tree

2 files changed

+19
-21
lines changed

2 files changed

+19
-21
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ lazy val root = project
7272
|import org.typelevel.catbird.util._
7373
""".stripMargin
7474
)
75-
.aggregate(util, effect, effect3, finagle, benchmark, `scalafix-rules`, `scalafix-tests`)
75+
.aggregate(util, effect, effect3, finagle, benchmark, `scalafix-rules`, `scalafix-tests`, FinaglePlugin.rootFinagle)
7676
.dependsOn(util, effect, finagle)
7777

7878
lazy val util = project

project/FinaglePlugin.scala

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,29 @@ object FinaglePlugin extends AutoPlugin {
2020
* because the newest release is not binary compatible with the older
2121
* versions it was checked against.
2222
*/
23-
val versions = Seq("22.7.0")
23+
val versions = Seq("22.12.0")
2424

2525
lazy val modules = Seq(
2626
"com.twitter" %% "finagle-core" % versions.head
2727
)
2828

29-
override lazy val extraProjects = {
30-
val subprojects = modules.map { module =>
31-
Project(module.name, file(s".${module.name}"))
32-
.enablePlugins(NoPublishPlugin)
33-
.settings(
34-
libraryDependencies += module,
35-
mimaCurrentClassfiles := {
36-
(Compile / dependencyClasspath).value.seq.map(_.data).find(_.getName.startsWith(module.name)).get
37-
},
38-
mimaPreviousArtifacts := versions.tail.map { v =>
39-
module.withRevision(v)
40-
}.toSet
41-
)
42-
}
43-
44-
val rootFinagle =
45-
project.in(file(s".rootFinagle")).enablePlugins(NoPublishPlugin).aggregate(subprojects.map(_.project): _*)
46-
47-
rootFinagle +: subprojects
29+
private lazy val subprojects = modules.map { module =>
30+
Project(module.name, file(s".${module.name}"))
31+
.enablePlugins(NoPublishPlugin)
32+
.settings(
33+
libraryDependencies += module,
34+
mimaCurrentClassfiles := {
35+
(Compile / dependencyClasspath).value.seq.map(_.data).find(_.getName.startsWith(module.name)).get
36+
},
37+
mimaPreviousArtifacts := versions.tail.map { v =>
38+
module.withRevision(v)
39+
}.toSet
40+
)
4841
}
4942

43+
lazy val rootFinagle =
44+
project.in(file(s".rootFinagle")).enablePlugins(NoPublishPlugin).aggregate(subprojects.map(_.project): _*)
45+
46+
override lazy val extraProjects: Seq[Project] = rootFinagle +: subprojects
47+
5048
}

0 commit comments

Comments
 (0)