From 91159bff81da59f634b4f61e97006cbd685f983c Mon Sep 17 00:00:00 2001 From: Ivan-Shaml <72102779+Ivan-Shaml@users.noreply.github.com> Date: Fri, 27 Dec 2024 19:09:22 +0200 Subject: [PATCH] chore(dependency): update Elide to v7.1.4 * fix api break --- build.gradle | 2 +- src/main/java/com/faforever/api/config/elide/ElideConfig.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 834c08994..103e911a2 100644 --- a/build.gradle +++ b/build.gradle @@ -162,7 +162,7 @@ dependencies { runtimeOnly("org.mariadb.jdbc:mariadb-java-client") // Manually managed dependencies - def elideVersion = "7.1.0" + def elideVersion = "7.1.4" def springdocVersion = "2.6.0" implementation("com.yahoo.elide:elide-core:${elideVersion}") implementation("com.yahoo.elide:elide-model-config:${elideVersion}") diff --git a/src/main/java/com/faforever/api/config/elide/ElideConfig.java b/src/main/java/com/faforever/api/config/elide/ElideConfig.java index 87969b1d1..61b89d48d 100644 --- a/src/main/java/com/faforever/api/config/elide/ElideConfig.java +++ b/src/main/java/com/faforever/api/config/elide/ElideConfig.java @@ -108,7 +108,8 @@ public T instantiate(Class cls) { }, CoerceUtil::lookup, Set.of(), - new DefaultClassScanner()); + new DefaultClassScanner(), + null); entityDictionary.scanForSecurityChecks();