Paper/patches/unapplied/server/0772-Update-Log4j.patch

25 lines
1.4 KiB
Diff
Raw Normal View History

2021-12-10 03:02:41 +01:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: darbyjack <admin@glaremasters.me>
Date: Thu, 9 Dec 2021 19:17:02 -0600
Subject: [PATCH] Update Log4j
diff --git a/build.gradle.kts b/build.gradle.kts
2022-10-31 23:25:30 +01:00
index 88000dae363f55044f86e72e9f6fb0214cd320bc..ea1faaf4820059b4a67dbd229a90bc6b78b861bc 100644
2021-12-10 03:02:41 +01:00
--- a/build.gradle.kts
+++ b/build.gradle.kts
2022-10-31 23:25:30 +01:00
@@ -18,10 +18,11 @@ dependencies {
2021-12-10 03:02:41 +01:00
all its classes to check if they are plugins.
Scanning takes about 1-2 seconds so adding this speeds up the server start.
*/
- implementation("org.apache.logging.log4j:log4j-core:2.14.1") // Paper - implementation
- annotationProcessor("org.apache.logging.log4j:log4j-core:2.14.1") // Paper - Needed to generate meta for our Log4j plugins
2021-12-28 22:07:25 +01:00
+ implementation("org.apache.logging.log4j:log4j-core:2.17.1") // Paper - implementation
+ annotationProcessor("org.apache.logging.log4j:log4j-core:2.17.1") // Paper - Needed to generate meta for our Log4j plugins
2021-12-10 03:02:41 +01:00
// Paper end
2022-03-01 06:43:03 +01:00
implementation("org.apache.logging.log4j:log4j-iostreams:2.17.1") // Paper
2021-12-28 22:07:25 +01:00
+ implementation("org.apache.logging.log4j:log4j-slf4j18-impl:2.17.1") // Paper
implementation("org.ow2.asm:asm:9.3")
implementation("org.ow2.asm:asm-commons:9.3") // Paper - ASM event executor generation
implementation("org.spongepowered:configurate-yaml:4.1.2") // Paper - config files