diff --git a/instrumentation/log4j/log4j-2.7/log4j-2.7.gradle b/instrumentation/log4j/log4j-2.7/log4j-2.7.gradle index c0f1aba95a..1f2c850c8d 100644 --- a/instrumentation/log4j/log4j-2.7/log4j-2.7.gradle +++ b/instrumentation/log4j/log4j-2.7/log4j-2.7.gradle @@ -9,7 +9,7 @@ muzzle { } dependencies { - compileOnly group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.7' + library group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.7' testImplementation project(':instrumentation:log4j:log4j-2-testing')