From 73cc7ebebc13577553c3b98f031e520e81be2b1e Mon Sep 17 00:00:00 2001 From: Enno Runne <458526+ennru@users.noreply.github.com> Date: Mon, 23 Sep 2024 12:19:36 +0200 Subject: [PATCH] Use sbt's Version matcher for binary versions --- project/Dependencies.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 94439dba..12f85079 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -8,10 +8,10 @@ object Dependencies { // Align the versions in integration-test/kubernetes-api-java/pom.xml val AkkaVersion = "2.9.3" - val AkkaBinaryVersion = "2.9" + val AkkaBinaryVersion = VersionNumber(AkkaVersion).numbers match { case Seq(major, minor, _*) => s"$major.$minor" } // Align the versions in integration-test/kubernetes-api-java/pom.xml val AkkaHttpVersion = "10.6.3" - val AkkaHttpBinaryVersion = "10.6" + val AkkaHttpBinaryVersion = VersionNumber(AkkaHttpVersion).numbers match { case Seq(major, minor, _*) => s"$major.$minor" } val ScalaTestVersion = "3.2.19" val ScalaTestPlusJUnitVersion = ScalaTestVersion + ".0"