summaryrefslogtreecommitdiff
path: root/opendc-compute/opendc-compute-service/build.gradle.kts
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 /opendc-compute/opendc-compute-service/build.gradle.kts
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 'opendc-compute/opendc-compute-service/build.gradle.kts')
-rw-r--r--opendc-compute/opendc-compute-service/build.gradle.kts1
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc-compute/opendc-compute-service/build.gradle.kts b/opendc-compute/opendc-compute-service/build.gradle.kts
index fd15b6e7..1a73201e 100644
--- a/opendc-compute/opendc-compute-service/build.gradle.kts
+++ b/opendc-compute/opendc-compute-service/build.gradle.kts
@@ -33,5 +33,6 @@ dependencies {
implementation(libs.kotlin.logging)
testImplementation(projects.opendcSimulator.opendcSimulatorCore)
+ testRuntimeOnly(libs.log4j.core)
testRuntimeOnly(libs.log4j.slf4j)
}