From 21db4a190b45b3f791dc4fc240c7d51282913e1c Mon Sep 17 00:00:00 2001 From: Carlos Amengual Date: Sat, 29 May 2021 16:43:20 +0200 Subject: [PATCH] Gradle: add a comment about slf4j-api dependency. --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 49d7c57..92c4620 100644 --- a/build.gradle +++ b/build.gradle @@ -7,6 +7,11 @@ dependencies { api project(':css4j') api project(':xml-dtd') api "nu.validator:htmlparser:${htmlparserVersion}" + /* + * The next dependency is not required for compiling, but this one was + * optional in the core module and it is mandatory for user agents. So it is + * set as a mandatory dependency here. + */ api "org.slf4j:slf4j-api:${slf4jVersion}" testImplementation project(path: ':css4j', configuration: 'tests') }