summaryrefslogtreecommitdiff
path: root/core/build.gradle
diff options
context:
space:
mode:
authorJason Tedor <jason@tedor.me>2017-06-08 16:09:34 -0400
committerGitHub <noreply@github.com>2017-06-08 16:09:34 -0400
commit1708f1773bcfcf48a56400497e426d7a0d4fcd47 (patch)
tree1781c630faac9dac1701d80853a7e093ef47c19f /core/build.gradle
parentbf007e8d936d82ed2d28c70da1a7366cfa862342 (diff)
Mark Log4j API dependency as non-optional
The Log4j dependency is separated into two artifacts, the API and the core implementation. This is to enable replacing Log4j on the backend through the SLF4J bridge with another logging implementation. For this reason, the dependencies are marked as optional. This causes confusion amongst users as to use the bridge, the API should be non-optional since it is needed for the bridge to function correctly. While they could pull it into their application directly, it would be clearer if we simply marked this depdendency as non-optional. Note that this does not mean that users have to use Log4j for logging in their application, so we are not marking core as required, it only clarifies what they need to be able to plug in a different logging implementation. Relates #25136
Diffstat (limited to 'core/build.gradle')
-rw-r--r--core/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/build.gradle b/core/build.gradle
index 230fb5a731..2e2a7fc2fd 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -81,7 +81,7 @@ dependencies {
compile "com.vividsolutions:jts:${versions.jts}", optional
// logging
- compile "org.apache.logging.log4j:log4j-api:${versions.log4j}", optional
+ compile "org.apache.logging.log4j:log4j-api:${versions.log4j}"
compile "org.apache.logging.log4j:log4j-core:${versions.log4j}", optional
// to bridge dependencies that are still on Log4j 1 to Log4j 2
compile "org.apache.logging.log4j:log4j-1.2-api:${versions.log4j}", optional