CCE: class org.slf4j.helpers.NOPLogger
cannot be cast to class ch.qos.logback.classic.Logger
when running Diktat as a Gradle plug-in
#1575
Milestone
Symptoms
Versions affected
Analysis
If we run
gradle dependencies
on the project where this issue occurs, we'll see:This is because (older) KtLint 0.46.1 still has
slf4j-api
version 1.7.32 in its dependencies:KtLint 0.47.1, on the other hand, upgrades
slf4j-api
from 1.7.32 to 2.0.0:We need to:
RuleSetProvider
toRuleSetProviderV2
#1543).Environment information
The text was updated successfully, but these errors were encountered: