papermc/Spigot-Server-Patches/0173-Include-Log4J2-SLF4J-implementation.patch

26 lines
793 B
Diff

From 3c2712cd3fc1aa4f3437344970425c423a0d584e Mon Sep 17 00:00:00 2001
From: Minecrell <minecrell@minecrell.net>
Date: Thu, 21 Sep 2017 16:33:35 +0200
Subject: [PATCH] Include Log4J2 SLF4J implementation
diff --git a/pom.xml b/pom.xml
index 026dcfdab5..dbc425524c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,6 +63,12 @@
<version>2.8.1</version>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ <version>2.8.1</version>
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-iostreams</artifactId>
--
2.24.1