From 67a7f98757d0e53fc8a9bb5f00b24c6b16c5d885 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Mon, 20 Nov 2023 11:14:53 +0100 Subject: [PATCH] Use Java 8 for most of Akka/Pekko projects --- coordinator/configs/custom-projects.txt | 1 - coordinator/configs/projects-config.conf | 16 ++++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/coordinator/configs/custom-projects.txt b/coordinator/configs/custom-projects.txt index 8ba7032e..7ea45159 100644 --- a/coordinator/configs/custom-projects.txt +++ b/coordinator/configs/custom-projects.txt @@ -1,4 +1,3 @@ -apache/incubator-pekko-persistence-dynamodb epfl-lara/lisa gvolpe/trading lichess-org/lila diff --git a/coordinator/configs/projects-config.conf b/coordinator/configs/projects-config.conf index 55912b06..abbc3f7f 100644 --- a/coordinator/configs/projects-config.conf +++ b/coordinator/configs/projects-config.conf @@ -31,14 +31,15 @@ ajozwik_protoquill-generic { } akka_akka { + java.version = 8 // Based on Scala3 managed community build tests = compile-only - sbt { - commands = [ - "set every targetSystemJdk := true", - "disableFatalWarnings" - ] - } + sbt.commands = ["disableFatalWarnings"] +} +akka_akka-http.java.version = 8 +akka_akka-persistence-cassandra { + java.version = 8 + tests = compile-only } akka_alpakka.tests = compile-only akka_akka-management.tests = compile-only @@ -56,12 +57,14 @@ apache_incubator-pekko { tests = compile-only } apache_incubator-pekko-grpc{ + java.version = 8 projects.exclude = [ // Build issue https://github.com/apache/incubator-pekko-grpc/commit/53f91e8efb0416831483c34ad9ee9c2cccc11d8d#r131335358 "org.apache.pekko%pekko-grpc-codegen" ] } apache_incubator-pekko-http { + java.version = 8 projects.exclude = [ # Scalafix supports only Scala2 "pekko-http-scalafix-rules","pekko-http-scalafix-tests", @@ -71,6 +74,7 @@ apache_incubator-pekko-http { ] } apache_incubator-pekko-connectors-kafka { + java.version = 8 tests = compile-only } apache_incubator-pekko-persistence-dynamodb.tests = compile-only