From 570dbc0945e5e65c490651a8646653da774e5136 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Mon, 27 May 2024 10:37:24 +0100 Subject: [PATCH] downgrade some akka libs because scala 2.12 is not supported on newer version --- common/scala/build.gradle | 4 ++-- settings.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/scala/build.gradle b/common/scala/build.gradle index dc40b0454b..0745a56a11 100644 --- a/common/scala/build.gradle +++ b/common/scala/build.gradle @@ -53,7 +53,7 @@ dependencies { api "com.typesafe.akka:akka-http-core_${gradle.scala.depVersion}:${gradle.akka_http.version}" api "com.typesafe.akka:akka-http-spray-json_${gradle.scala.depVersion}:${gradle.akka_http.version}" - api "com.lightbend.akka:akka-stream-alpakka-file_${gradle.scala.depVersion}:4.0.0" + api "com.lightbend.akka:akka-stream-alpakka-file_${gradle.scala.depVersion}:3.0.4" api "ch.qos.logback:logback-classic:1.2.11" api "org.slf4j:jcl-over-slf4j:1.7.25" @@ -95,7 +95,7 @@ dependencies { api "io.reactivex:rxjava-reactive-streams:1.2.1" - api ("com.lightbend.akka:akka-stream-alpakka-s3_${gradle.scala.depVersion}:4.0.0") { + api ("com.lightbend.akka:akka-stream-alpakka-s3_${gradle.scala.depVersion}:3.0.4") { exclude group: 'org.apache.httpcomponents' //Not used as alpakka uses akka-http exclude group: 'com.fasterxml.jackson.core' exclude group: 'com.fasterxml.jackson.dataformat' diff --git a/settings.gradle b/settings.gradle index 9c20e04bdc..135de6c1de 100644 --- a/settings.gradle +++ b/settings.gradle @@ -100,7 +100,7 @@ gradle.ext.scalafmt = [ ] gradle.ext.akka = [version : '2.6.21'] -gradle.ext.akka_kafka = [version : '3.0.1'] +gradle.ext.akka_kafka = [version : '2.1.1'] gradle.ext.akka_http = [version : '10.2.10'] gradle.ext.akka_management = [version : '1.1.4']