From 7c556391676fdadaef34b7d9e4c131f7aeb05e88 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 12 Jul 2022 14:23:20 +0100 Subject: [PATCH] Depend on log4j-api directly rather than via Elastic's transitives Closes gh-31692 --- .../spring-boot-actuator-autoconfigure/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle b/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle index 5b4e527779..5a025c7fd3 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle @@ -90,6 +90,7 @@ dependencies { } optional("org.apache.kafka:kafka-clients") optional("org.apache.kafka:kafka-streams") + optional("org.apache.logging.log4j:log4j-api") optional("org.apache.solr:solr-solrj") { exclude group: "org.slf4j", module: "jcl-over-slf4j" }