From 0862d5da680f3b8544917fbb5d12cd06e9c1ca78 Mon Sep 17 00:00:00 2001 From: Julien Stengel Date: Thu, 1 Aug 2024 13:48:14 +0200 Subject: [PATCH] Change Scala version to LTS and use actual play_3 lib --- play-pac4j_3/pom.xml | 16 +++++++++++----- .../pac4j/play/filters/SecurityFilterTests.scala | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/play-pac4j_3/pom.xml b/play-pac4j_3/pom.xml index 17754edf..e0ffb553 100644 --- a/play-pac4j_3/pom.xml +++ b/play-pac4j_3/pom.xml @@ -13,35 +13,41 @@ pac4j implementation for Play framework (Scala 3) Security library for Play framework based on pac4j using Scala 3 + + 3 + 3.3.3 + 3.3.3 + + org.playframework - play_${scala.version} + play_${scala.major.version} ${play.version} provided org.playframework - play-cache_${scala.version} + play-cache_${scala.major.version} ${play.version} provided org.scala-lang scala3-library_3 - 3.4.2 + ${scala.version} org.playframework - play-test_${scala.version} + play-test_${scala.major.version} ${play.version} test org.scalatest - scalatest_${scala.version} + scalatest_${scala.major.version} ${scalatest.version} test diff --git a/shared/src/test/java/org/pac4j/play/filters/SecurityFilterTests.scala b/shared/src/test/java/org/pac4j/play/filters/SecurityFilterTests.scala index dfdb2ddc..36f34f2d 100644 --- a/shared/src/test/java/org/pac4j/play/filters/SecurityFilterTests.scala +++ b/shared/src/test/java/org/pac4j/play/filters/SecurityFilterTests.scala @@ -46,7 +46,7 @@ class SecurityFilterTests extends ScalaFutures with Results { def testThatSecurityFilterBlocksUnauthorizedRequests(): Unit = { implicit val ec = scala.concurrent.ExecutionContext.global implicit val as = ActorSystem("text-actor-system") - implicit val mat = ActorMaterializer() + implicit val mat: ActorMaterializer = ActorMaterializer() val securityFilter = prepareSecurityFilter( """