diff --git a/instrumentation/log4j/log4j-appender-2.17/library/README.md b/instrumentation/log4j/log4j-appender-2.17/library/README.md
index 42decc1e0813..4a3d14441a44 100644
--- a/instrumentation/log4j/log4j-appender-2.17/library/README.md
+++ b/instrumentation/log4j/log4j-appender-2.17/library/README.md
@@ -20,7 +20,6 @@ For Maven, add to your `pom.xml` dependencies:
io.opentelemetry.instrumentation
opentelemetry-log4j-appender-2.17
OPENTELEMETRY_VERSION
- runtime
```
@@ -28,7 +27,7 @@ For Maven, add to your `pom.xml` dependencies:
For Gradle, add to your dependencies:
```groovy
-runtimeOnly("io.opentelemetry.instrumentation:opentelemetry-log4j-appender-2.17:OPENTELEMETRY_VERSION")
+implementation("io.opentelemetry.instrumentation:opentelemetry-log4j-appender-2.17:OPENTELEMETRY_VERSION")
```
### Usage