Skip to content

Commit 12cfe90

Browse files
authored
chore: prepare AkkaVersionInDocs for 2.10 (#575)
1 parent 3392e5e commit 12cfe90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/main/paradox/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This plugin depends on Akka $akka.version$ or later, and note that it is importa
2222
dependencies are in the same version, so it is recommended to depend on them explicitly to avoid problems
2323
with transient dependencies causing an unlucky mix of versions.
2424

25-
The plugin is published for Scala 2.13 and 2.12.
25+
The plugin is published for Scala 2.13 and 3.3
2626

2727
## Enabling
2828

project/Dependencies.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ object Dependencies {
1010
val Scala2Versions = Seq(Scala213)
1111
val ScalaVersions = Dependencies.Scala2Versions :+ Dependencies.Scala3
1212
val AkkaVersion = System.getProperty("override.akka.version", "2.9.3")
13-
val AkkaVersionInDocs = AkkaVersion.take(3)
13+
val AkkaVersionInDocs = VersionNumber(AkkaVersion).numbers match { case Seq(major, minor, _*) => s"$major.$minor" }
1414
val AkkaPersistenceJdbcVersion = "5.4.0" // only in migration tool tests
1515
val AkkaProjectionVersionInDocs = "current"
1616
val H2Version = "2.2.224"

0 commit comments

Comments
 (0)