Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.2
-
None
Description
The documentation (website: http://logging.apache.org/log4j/2.x/maven-artifacts.html) lists "log4j-core" as compile dependency (Gradle).
While this at not wrong, it does not hit the idea of api/core separation. Thus I suggest to list "log4j-core" as runtime dependency, i.e.
dependencies { compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.0.2' runtime group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.0.2' }