Fix Gradle instructions
diff --git a/src/site/antora/modules/ROOT/pages/5min.adoc b/src/site/antora/modules/ROOT/pages/5min.adoc
index 864dca1..ad3f761 100644
--- a/src/site/antora/modules/ROOT/pages/5min.adoc
+++ b/src/site/antora/modules/ROOT/pages/5min.adoc
@@ -396,10 +396,10 @@
   // Assuming you already have the `implementation platform(...)` entry for `log4j-bom`
 
   // The logging implementation (i.e., Log4j Core)
-  testOnly 'org.apache.logging.log4j:log4j-core' // <1>
+  testRuntimeOnly 'org.apache.logging.log4j:log4j-core' // <1>
 
   // SLF4J-to-Log4j bridge // <2>
-  testOnly 'org.apache.logging.log4j:log4j-slf4j2-impl' // <1>
+  testRuntimeOnly 'org.apache.logging.log4j:log4j-slf4j2-impl' // <1>
 
 }
 ----