summaryrefslogtreecommitdiff
path: root/gradle
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-10-12 21:53:53 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-10-21 22:13:04 +0200
commit290e1fe14460d91e4703e55ac5f05dbe7b4505f7 (patch)
treefa92da5ed3942471f6b63d572dfb63f7307f91bd /gradle
parent2a457d9e5480407d76440a2277817cb735c86ae1 (diff)
fix: Add log4j-core dependency
This change adds the log4j-core dependency to various modules of OpenDC using log4j2, to ensure logging keeps working. The upgrade to SLF4J 2.0 broke the Log4j2 functionality, since the log4j-core artifact is not automatically shipped with the SLF4J implementation.
Diffstat (limited to 'gradle')
-rw-r--r--gradle/libs.versions.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index ac1ce5e9..824001c3 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -36,6 +36,7 @@ kotlinx-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core",
# Logging
kotlin-logging = { module = "io.github.microutils:kotlin-logging", version.ref = "kotlin-logging" }
slf4j-simple = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j" }
+log4j-core = { module = "org.apache.logging.log4j:log4j-core", version.ref = "log4j" }
log4j-slf4j = { module = "org.apache.logging.log4j:log4j-slf4j2-impl", version.ref = "log4j" }
sentry-log4j2 = { module = "io.sentry:sentry-log4j2", version.ref = "sentry" }